wildbrood Posted November 10, 2020 Share Posted November 10, 2020 Hey Zelek, I would like to know how to use a script to use zanzoken (teleport) for a specific SQM to reach the next SQM. in the cave bot I can see theres this option, but I dont know how to script it. Link to comment Share on other sites More sharing options...
Zelek Posted November 10, 2020 Share Posted November 10, 2020 I have no idea how the "zanzoken" is performed at the server you are playing, so I've assumed it's just a "Use" at specific tile. Add "Action" waypoint and use the following script to use the top item of a given position: local usePosition = {x = 123, y = 346, z = 7} repeat g_game.useMapItem(usePosition) sleep(1000) until g_game.getLocalPlayer():getPosition() == usePosition Link to comment Share on other sites More sharing options...
wildbrood Posted November 10, 2020 Author Share Posted November 10, 2020 1 hour ago, Zelek said: I have no idea how the "zanzoken" is performed at the server you are playing, so I've assumed it's just a "Use" at specific tile. Add "Action" waypoint and use the following script to use the top item of a given position: local usePosition = {x = 123, y = 346, z = 7} repeat g_game.useMapItem(usePosition) sleep(1000) until g_game.getLocalPlayer():getPosition() == usePosition The problem is that the "use" is on "mouse3' button. How to script it? Link to comment Share on other sites More sharing options...
Zelek Posted November 10, 2020 Share Posted November 10, 2020 There is no way to use it then Link to comment Share on other sites More sharing options...
Recommended Posts