Carrier Strike Group
Posted: Mon Mar 20, 2023 11:15 pm
Hello,
Im building a Carrier Strike Group with random names and proficiency (aircraft, destroyers, submarines and so on). I would like to center as much as possible around lat/long of the carrier so i just need input the carriers lat/lon and then use "relativeTo" or "World_GetPointFromBearing" for the other ships.Sombody has a easy solution to make Henry J Kaiser and USS Chicago bearing and distance to George Bush? So i dont need to change like 10 lat/lon coordinates when i need the group in some other part of the world...
--ADD CARRIER
ScenEdit_AddUnit({type='Ship', name='George Bush', heading =0, dbid =3225, side ='USA', Latitude="N69.00.00",Longitude="E10.00.00", altitude="0 ft", speed=0,proficiency=4})
--ADD Support ship
ScenEdit_AddUnit({type='Ship', name='Henry J. Kaiser 187', heading =180, speed=0, dbid =26, side ='USA', Latitude="N68.59.10",Longitude="E10.01.30", altitude="0 ft",proficiency=4})
--ADD Submarine SSN 700 Dallas [Los Angeles Class] 2008
ScenEdit_AddUnit({type='Submarine', name='USS Chicago', heading =0, speed=0, dbid =533, side ='USA', Latitude="N69.03.10",Longitude="E10.00.00", altitude="-300 ft",proficiency=3})
Im building a Carrier Strike Group with random names and proficiency (aircraft, destroyers, submarines and so on). I would like to center as much as possible around lat/long of the carrier so i just need input the carriers lat/lon and then use "relativeTo" or "World_GetPointFromBearing" for the other ships.Sombody has a easy solution to make Henry J Kaiser and USS Chicago bearing and distance to George Bush? So i dont need to change like 10 lat/lon coordinates when i need the group in some other part of the world...
--ADD CARRIER
ScenEdit_AddUnit({type='Ship', name='George Bush', heading =0, dbid =3225, side ='USA', Latitude="N69.00.00",Longitude="E10.00.00", altitude="0 ft", speed=0,proficiency=4})
--ADD Support ship
ScenEdit_AddUnit({type='Ship', name='Henry J. Kaiser 187', heading =180, speed=0, dbid =26, side ='USA', Latitude="N68.59.10",Longitude="E10.01.30", altitude="0 ft",proficiency=4})
--ADD Submarine SSN 700 Dallas [Los Angeles Class] 2008
ScenEdit_AddUnit({type='Submarine', name='USS Chicago', heading =0, speed=0, dbid =533, side ='USA', Latitude="N69.03.10",Longitude="E10.00.00", altitude="-300 ft",proficiency=3})