Player level
Posted: Thu Jul 19, 2012 9:45 am
Hi I have a problem.
I have a level 43 char but when I use this code:
it won't go to the waypoint with tag "BackToCamp" even if it's above level 42.
Any ideas to why it doesn't work?
I have a level 43 char but when I use this code:
Code: Select all
<!-- # 17 --><waypoint x="2844" z="11641" y="132" tag="stonecheck">
if player.Level > 42 then
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("BackToCamp"))
end
if inventory:getItemCount(209457) > 29 then -- Stone Gift
__WPL:setForcedWaypointType("RUN")
__WPL:setWaypointIndex(__WPL:findWaypointTag("StoneGiftTurnin"))
end
</waypoint>Any ideas to why it doesn't work?