- AUFTRAG: Orbit is now in KIAS
- CHIEF: fixes for resource
This commit is contained in:
Frank
2022-11-03 22:46:10 +01:00
parent 1a575d9364
commit 39f690f2b4
3 changed files with 23 additions and 22 deletions

View File

@@ -1202,7 +1202,8 @@ function ARMYGROUP:onafterUpdateRoute(From, Event, To, n, N, Speed, Formation)
formation=Formation
end
env.info(self.lid..string.format("FF Formation %s", formation))
-- Debug
--env.info(self.lid..string.format("FF Formation %s", formation))
-- Add road waypoint.
if formation==ENUMS.Formation.Vehicle.OnRoad then
@@ -1754,7 +1755,7 @@ function ARMYGROUP:onafterEngageTarget(From, Event, To, Target, Speed, Formation
self:SwitchROE(ENUMS.ROE.OpenFire)
-- ID of current waypoint.
local uid=self:GetWaypointCurrent().uid
local uid=self:GetWaypointCurrentUID()
-- Set formation.
self.engage.Formation=Formation or ENUMS.Formation.Vehicle.Vee