How to have trigger occur before next speedwalk?

Posted by Kahenraz on Sun 18 Mar 2018 10:11 AM — 6 posts, 24,108 views.

#0
I'm using GMCP mapper for speedwalking. How can I set a custom tripper to prioritize before the next step?

For example, sometimes there is something on the ground as I walk by like a pile of gold. I made a trigger to pickup this gold but the trigger activates after I've already left the room. I'm assuming that this is because the speedwalk prioritized sending the next direction before the pickup action was sent.

How can I prioritize triggers so that my custom triggers occur before the next speedwalk?

Thank you.
USA Global Moderator #1
Quote:
I'm using GMCP mapper

You need to be a lot more specific than that. Give a link to the one you're using.
#2
https://github.com/nickgammon/plugins/blob/master/Materia_Magica_Mapper.xml
USA Global Moderator #3
Great, thanks. My next question is: Are you making a world trigger or a plugin trigger? Because they fire at different times, and the ordering mechanism is different for them.
Amended on Sun 18 Mar 2018 10:58 PM by Fiendish
Australia Forum Administrator #4
Kahenraz said:

How can I prioritize triggers so that my custom triggers occur before the next speedwalk?


I think the problem might be the order in which things are happening. For example if you have:


Room name
Description
Exits
Contents of room


And if the mapper is called to redraw the map on the Exits line, then if you are speedwalking it will start moving to the next room, before you see the contents, which might be the pile of gold.

What you might need to do is (somehow) defer telling the mapper you have changed rooms until you have seen its contents.
#5
Ahh, yes. That makes sense. Thank you. :)