Use global idle hunt.

This commit is contained in:
Matthias Mailänder
2021-10-10 22:15:17 +02:00
committed by abcdefg30
parent b9bfbfd5ac
commit 5ed3f55ed2
4 changed files with 1 additions and 10 deletions

View File

@@ -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")