mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-12 17:59:25 +00:00
Update Armygroup - 050 - Rearm.lua
- fixed but that rearm command was not obeyed due to timing issue
This commit is contained in:
@@ -46,8 +46,8 @@ function armygroup:OnAfterOutOfAmmo()
|
||||
-- Get a coordinate near the rearming truck.
|
||||
local coordinate=RearmingTruck:GetRandomCoordinate(10, 25)
|
||||
|
||||
-- Order group to rearm at a specific coordinate.
|
||||
self:Rearm(coordinate)
|
||||
-- Order group to rearm at a specific coordinate after one second (need time to cancel the fire at point task)
|
||||
self:__Rearm(1, coordinate)
|
||||
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user