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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Cordir
Beginner


Joined: 23 Jan 2011
Posts: 20

PostPosted: Wed Aug 12, 2015 3:48 am   

*Preventing* movement on the map
 
So, the mud I play has Following, Alignment, and Class specific rooms, as well as Private / Solitary rooms. Sometimes, you simply cannot enter a specific room. There's a variety of messages.

Example:
I use the same map for three of my characters. One is a Cleric, one is a Mage, one is a Bard. The Mage cannot go into the Cleric's Guild, because she isn't the right class. ("An invisible force stops you from moving forward.") She cannot enter the Temple of the Deity the cleric worships, because she worships a different Deity. ("Infidel! This is not the temple of your god!") etc.

Is there a way to prevent the mapper from moving in that direction if the messages are received, and stay in the room one was in, prior to attempting the failed movement?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4692
Location: Pensacola, FL, USA

PostPosted: Wed Aug 12, 2015 4:15 am   
 
you want the #NODIR command to prevent advancement of the map
the #NOMAP command will prevent certain lines from being seen by the mapper

this only works if you have the map in safe or slow mode though
don't forget to reconfigure the map any time you add mapper based triggers to your package
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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