BBot - The best bot of the world
Doubt Macro open closes without keys. - 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: Doubt Macro open closes without keys. (/thread-19578.html)



Doubt Macro open closes without keys. - pedrownage - 03-12-2016

Hey all, i would like to know, how could i set a macro to open a door without key.

I have gotten a macro like this: 0 {Open Door Without Key} X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.Use(ID_DOOR, !X!, !Y!, !Z!, 2)
Then i set this one, for example in mutated tigers yalahar. I want to keep those doors always open. If someone close or stuck my char there , the bot goes and open the door and keep hunting.

So where do i have to put the door's ID? Before the underscore, or after?

If someone could help me in that case, i would appreciate and get rep+.

Thanks, anyway. Cool


RE: Doubt Macro open closes without keys. - MegaNo0body - 03-12-2016

You should use MapTool, it can use doors with and without keys.

It's always prefereed to use native Bot functions than macros


RE: Doubt Macro open closes without keys. - jasper15 - 03-12-2016

If you use that macro add it twice, 1x with ID door open and 1x ID door close

Example:
[Image: FLIbiKN.png]


RE: Doubt Macro open closes without keys. - MegaNo0body - 03-14-2016

(03-12-2016, 02:17 PM)jasper15 Wrote: If you use that macro add it twice, 1x with ID door open and 1x ID door close

Example:
[Image: FLIbiKN.png]

With MapTool you can add only one MapTool with the closed door, if the door is opened there's no why to close it.

MapTool is the guy to do it.


Do not use Macros when there's a native feature that does the same job (much better).