Re: Level 35 gift bag (Sea of Snow Package)
Posted: Fri Dec 05, 2014 4:06 am
No. You are treating berhuQuestComplete as a variable but there is no such variable. It's a string. So it has to be
or
Both are the same because berhuCompleteTag equals "berhuQuestComplete".
I don't know why it's not working. Try adding some print messages to the onleavecombat to see what's happening.
Hm... Are you running this as one of a chain of waypoint files? Are you loading this waypoint file then doing a loadProfile()? Try reversing them. Do the loadProfile first then load the waypoint file.
Code: Select all
onLeaveCompleteTag = berhuCompleteTag
Code: Select all
onLeaveCompleteTag = "berhuQuestComplete"
I don't know why it's not working. Try adding some print messages to the onleavecombat to see what's happening.
Code: Select all
function settings.profile.events.onLeaveCombat()
print("Doing onleavecombat")
if onLeaveQuest then
print("onLeaveQuest = ".. onLeaveQuest .. " (".. getQuestStatus(onLeaveQuest).. ")")
print("onLeaveCompleteTag = " (onLeaveCompleteTag or "nil"))
end