Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. <control name="WaypointList">
  2. <item text="Node (33505, 32561, 7)" tag="0"/>
  3. <item text="PreShip:" tag="255"/>
  4. <item text="Stand (33496, 32564, 7)" tag="1"/>
  5. <item text="!cdataread" tag="254"><![CDATA[Self.SayToNpc({"Hi","Thais","yes"})]]></item>
  6. <item text="CheckPosition1:" tag="255"/>
  7. <item text="InRosh:" tag="255"/>
  8. <item text="Stand (33494, 32568, 7)" tag="1"/>
  9. <item text="!cdataread" tag="254"><![CDATA[Self.SayToNpc({"Hi","Thais","yes"})]]></item>
  10. <item text="CheckPosition2:" tag="255"/>
  11. <item text="InThais:" tag="255"/>
  12. <item text="sleep(1000)" tag="254"/>
  13. <item text="Node (32315, 32211, 6)" tag="0"/>
  14. <item text="Stand (32321, 32211, 6)" tag="1"/>
  15. </control>
  16.  
  17.  
  18.  
  19. registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
  20. function onWalkerSelectLabel(labelName)
  21. if (labelName == "CheckPosition1") then
  22. if (Self.Position().x == 32310 and Self.Position().y == 32210 and Self.Position().z == 6) then
  23. gotoLabel("InThais")
  24. else
  25. gotoLabel("InRosh")
  26. end
  27.  
  28. elseif (labelName == "CheckPosition2") then
  29. if (Self.Position().x == 32310 and Self.Position().y == 32210 and Self.Position().z == 6) then
  30. gotoLabel("InThais")
  31. else
  32. gotoLabel("PreShip")
  33. end
  34. end
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement