Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Rhuarc
Newbie


Joined: 03 Mar 2001
Posts: 9
Location: Australia

PostPosted: Tue Oct 28, 2003 2:41 am   

Map Following problem
 
I have the trigger #TRIGGER {^You follow %w (%w).} {#MOVE %1}

but there is one problem...if im meditating and the group leader moves. I will stay in the same room but the MAPPER registers it as a move to the next room...

So if the group leaders moves the mud OUTPUT looks like this

You follow someone west.
You are meditating and can't move!

So i think I need a trigger to alert the mapper that i didn't actually move

Also I often realise that sometimes when moving around the map some random room the map stops following me for no reason at all....It seems random and nothing to do with the room...

ANy suggestions? thanks
Reply with quote
Rhuarc
Newbie


Joined: 03 Mar 2001
Posts: 9
Location: Australia

PostPosted: Tue Oct 28, 2003 3:36 am   
 
Ok I've read through the topics and go the suggestion of

#TRIGGER {You must stop meditating before you try to move!} {#nodir;#nomap}

unfortuantly this still does not work...the map still believes i've moved a room even though i havn't
Reply with quote
Arcane_of_Discworld
Wanderer


Joined: 29 Jan 2002
Posts: 99
Location: UK

PostPosted: Tue Oct 28, 2003 5:20 am   
 
I will presume that you begin meditating because of a command you enter therefore one possible solution would be to create and alias such as:

#ALIAS MeditateCommand {#VARIABLE Meditating 1;~MeditateCommand}

This will set a variable which can be checked against with the following trigger, such as:

#TRIGGER {^You follow %w (%w).} {#If (@Meditating=0) {#MOVE %1} {#ECHO Did't follow because of meditation!}

In order for this to be effective you will need another trigger to set @Meditating to 0 once your meditation completes, such as:

#TRIGGER {^Whatever the message is you get when you emerge from meditation.$} {#VARIABLE Meditating 0}

That is one possible way of doing it but without actually seeing the output from the Mud you play it is mere guesswork.

Arcane
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net