Move IdleHunt function to campaign-global.lua

This commit is contained in:
Smittytron
2021-05-03 21:15:08 -05:00
committed by reaperrr
parent f1f9098109
commit 243dc965c0
41 changed files with 1 additions and 126 deletions

View File

@@ -72,14 +72,6 @@ ReinforcementsDelay = DateTime.Minutes(16)
ReinforcementsUnits = { "2tnk", "2tnk", "2tnk", "2tnk", "2tnk", "2tnk", "1tnk", "1tnk", "jeep", "e1",
"e1", "e1", "e1", "e3", "e3", "mcv", "truk", "truk", "truk", "truk", "truk", "truk" }
IdleHunt = function(actor)
Trigger.OnIdle(actor, function(a)
if a.IsInWorld then
a.Hunt()
end
end)
end
SpawnAlliedReinforcements = function()
if allies2.IsLocalPlayer then
UserInterface.SetMissionText("")