Moving player/obstacle from SQM on refill - Printable Version +- BBot - The best bot of the world (https://forums.bmega.net) +-- Forum: Community (https://forums.bmega.net/forum-5.html) +--- Forum: Screenshots & Movies (https://forums.bmega.net/forum-12.html) +--- Thread: Moving player/obstacle from SQM on refill (/thread-20623.html) |
Moving player/obstacle from SQM on refill - Catar - 03-14-2017 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) :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] |