Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <control name="WaypointList">
- <item text="Node (33505, 32561, 7)" tag="0"/>
- <item text="PreShip:" tag="255"/>
- <item text="Stand (33496, 32564, 7)" tag="1"/>
- <item text="!cdataread" tag="254"><![CDATA[Self.SayToNpc({"Hi","Thais","yes"})]]></item>
- <item text="CheckPosition1:" tag="255"/>
- <item text="InRosh:" tag="255"/>
- <item text="Stand (33494, 32568, 7)" tag="1"/>
- <item text="!cdataread" tag="254"><![CDATA[Self.SayToNpc({"Hi","Thais","yes"})]]></item>
- <item text="CheckPosition2:" tag="255"/>
- <item text="InThais:" tag="255"/>
- <item text="sleep(1000)" tag="254"/>
- <item text="Node (32315, 32211, 6)" tag="0"/>
- <item text="Stand (32321, 32211, 6)" tag="1"/>
- </control>
- registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
- function onWalkerSelectLabel(labelName)
- if (labelName == "CheckPosition1") then
- if (Self.Position().x == 32310 and Self.Position().y == 32210 and Self.Position().z == 6) then
- gotoLabel("InThais")
- else
- gotoLabel("InRosh")
- end
- elseif (labelName == "CheckPosition2") then
- if (Self.Position().x == 32310 and Self.Position().y == 32210 and Self.Position().z == 6) then
- gotoLabel("InThais")
- else
- gotoLabel("PreShip")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement