Use global idle hunt.
This commit is contained in:
committed by
abcdefg30
parent
b9bfbfd5ac
commit
5ed3f55ed2
@@ -9,12 +9,6 @@
|
||||
|
||||
Difficulty = Map.LobbyOption("difficulty")
|
||||
|
||||
IdleHunt = function(actor)
|
||||
if actor.HasProperty("Hunt") and not actor.IsDead then
|
||||
Trigger.OnIdle(actor, actor.Hunt)
|
||||
end
|
||||
end
|
||||
|
||||
InitObjectives = function(player)
|
||||
Trigger.OnObjectiveAdded(player, function(p, id)
|
||||
Media.DisplayMessage(p.GetObjectiveDescription(id), "New " .. string.lower(p.GetObjectiveType(id)) .. " objective")
|
||||
|
||||
Reference in New Issue
Block a user