Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving player/obstacle from SQM on refill
#1
Kazan pointed out to me very interesting interaction of map.click and player.

check this out ;D




Explanation:[spoiler]
needed macro
[macro]500 {move1} Self.PositionIn(32653, 31922, 9, 32653, 31924, 9)==1 Misc.StandTime()>=2 Map.HasID(99, 32654, 31923, 9)==0 CaveBot.GoLabel(moved1) exit()[/macro]


Self.PositionIn(32653, 31922, 9, 32653, 31924, 9) is rectangle of positions character may stand when moving another player
Map.HasID(99, 32654, 31923, 9) - checks if there is a player (id 99) on that specific SQM bot wants to stand on.



part of waypoints (visible on screen)

Quote:Point (32648 31921 9)
Point (32652 31923 9)
MapTool (32653 31923 9:Target: 429 Use: 0 Pos: 32654 31923 9)
Label (32653 31923 9:moved1)

Say (32654 31923 9:hi)
NPCSay (32654 31923 9:trade)

:Target: 429 - 429 is ID of clear floor in this SQM
Label (32653 31923 9:moved1) - is label which macro above will continue from so after obstacle was moved (required so it doesn't stuck)

[/spoiler]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)