You can use such function.
Self.GetCreatureKills("MONSTER")
and
Self.ResetCreatureKills("MONSTER")
Printable View
something like this
if Self.GetCreatureKills("BossName") > 0 then
Walker.Goto("Leave")
Self.ResetCreatureKills("BossName")
else
Walker.Goto("KillBoss")
end
It still doesn't work. When I kill the boss, it doesn't even show the boss name in the recent kill HUD, or in server messages. That's why I think if I can make it like walker go to label IF item id is seen on screen, it should work.
And say you have a check for item id running nonstop would it slow down the script? Or is it like an hp/mana pot checker where I'd have to place a label for it over and over in the waypoints?
No, normal tibs.. I never play OT's
@HjugO
To be honest, I didn't try your script, I just assumed it wouldn't work since the client doesn't even show the bosses name after killing it. Just says what your reward is...
Could anyone produce this?:
It loads up properly, but nothing happens..Code:-- Leave after Boss --
local boss = { "deeds", "rewards", "boss name", "or boss remains id number"}
--[[ Don't touch below ]]--
function LootProxyCallback(proxy, message)
for index, name in ipairs(boss) do
if string.find(message:lower(), name) then
gotoLabel("Leavehunt")
end
end
end
LootMessageProxy.OnReceive('LootProxy', LootProxyCallback)