BBot - The best bot of the world
Some macro help? - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Support (https://forums.bmega.net/forum-6.html)
+--- Forum: Support & Help (https://forums.bmega.net/forum-8.html)
+--- Thread: Some macro help? (/thread-6773.html)



Some macro help? - Darkanon - 01-23-2013

200 {Teleport} X:=Self.X Y:=Self.Y Z:=Self.Z Map.HasID(1949, !X!, !Y!, !Z!) Self.MoveTo(X, Y, Z)<>1

Im trying to make a macro that finds a teleporter on screen and then walks into it.. But I'm having a hard time doing so. And the thing is there are 2 teleporters that are also on screen that stay in one place. Any way of making a macro that walks into the ones that appear and ignore the other ones?


RE: Some macro help? - Benjyon - 01-23-2013

You can just add A Fixed Point on the S,N,E or W side of the Teleport, and make a Macro that walks to the S,N,E or W. Smile


RE: Some macro help? - Darkanon - 01-23-2013

I've tried that but the path is only going to be like 5 nodes long. It's for an event. It walks in, Moves every 1 minute using a macro. Then runs back to the temple after its done.

Since its so short the cavebot doesnt want to work correctly. Just keeps saying not possible instead of going to the fixed point.

Or is it possible to make a macro that detects where its at then runs a label?


RE: Some macro help? - Kimoszin - 01-28-2013

If the teleport to the south, you can use this example
[macro]0 {Walk} Self.MoveS()[/macro]

Code:
...
Point (0 0 0)
Point (0 0 0)
Fixed (0 0 0)
Macro (0 0 0:Walk)
Point (0 0 0)
...