Move IdleHunt function to campaign-global.lua
This commit is contained in:
@@ -34,14 +34,6 @@ else
|
||||
TanyaType = "e7.noautotarget"
|
||||
end
|
||||
|
||||
IdleHunt = function(actor)
|
||||
Trigger.OnIdle(actor, function(a)
|
||||
if a.IsInWorld then
|
||||
a.Hunt()
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
Tick = function()
|
||||
if TeleportJeepCamera and Jeep.IsInWorld then
|
||||
JeepCamera.Teleport(Jeep.Location)
|
||||
|
||||
Reference in New Issue
Block a user