mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2026-08-24 16:41:31 +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.
|
-- Get a coordinate near the rearming truck.
|
||||||
local coordinate=RearmingTruck:GetRandomCoordinate(10, 25)
|
local coordinate=RearmingTruck:GetRandomCoordinate(10, 25)
|
||||||
|
|
||||||
-- Order group to rearm at a specific coordinate.
|
-- Order group to rearm at a specific coordinate after one second (need time to cancel the fire at point task)
|
||||||
self:Rearm(coordinate)
|
self:__Rearm(1, coordinate)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user