Reverse Mapping on command.

Posted by Falgor on Sun 03 May 2020 08:22 PM — 4 posts, 17,100 views.

#0
Is there a way to access the stored Reverse Route in the automapper?

Or a way to run it without having to open the Mapper function and clicking "Take reverse route"?

Thanks,

Falg
Australia Forum Administrator #1
What is the stored reverse route?

How about this:

Template:function=ReverseSpeedwalk
ReverseSpeedwalk

The documentation for the ReverseSpeedwalk script function is available online. It is also in the MUSHclient help file.

#2
Yeah trying to reduce some lines of code so wondered if I could get it fresh from the client.

So in Game > Mapper

You are shown two boxes:

Current route.

Reverse route.


The above based on the steps taken since last clearing the Mapper queue. I can click "Take Reverse Route" to action the reverse speedwalk.

I wondered if there was a command to do this, rather than having to go into the Mapper window and physically clicking it.


I'm building it into my ports script, so once you reach a port it resets the Mapper so you can manually walk around an area - then return to the port at a command. Ultimately the goal is to be able to walk to any registered port from anywhere in the world.

Of course I could achieve this with the graphical mapper, but this plugin is far less work and caters for the amount of areas/special rooms in my world.
#3
Oh, sorted.

Didn't realise there was a GetMappingString() function.

I'm just going to reverse that! Thanks.