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
Reygar
Novice


Joined: 22 Aug 2004
Posts: 32

PostPosted: Wed Jun 28, 2006 1:55 pm   

color rooms
 
I am using a set of buttons to color rooms as I wander around my map. Is it possible to color rooms while NOT in mapping mode using buttons? I can do it through room properties, but not using
Code:
#NOOP %roomcol(, red)

with a button.

thanks

-R
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Wed Jun 28, 2006 6:34 pm   
 
The solution is to add code to your button to 1) switch to mapping mode, 2) change the color, 3) switch back to follow mode. There are several examples in this forum for scripting map mode changes , but I need to leave for work so I can't do a search. Maybe someone else can find an appropriate topic.
Reply with quote
Reygar
Novice


Joined: 22 Aug 2004
Posts: 32

PostPosted: Wed Jun 28, 2006 9:17 pm   
 
Code:
#MENU {Mapper|File|Map Creation Mode}
#NOOP %roomcol(, red)
#MENU {Mapper|File|Follow Mode}


thought of that while mowing the lawn...thanks.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Jun 28, 2006 10:25 pm   
 
Actually, you should be able to do it even simpler--assuming the below isn't a Zmapper enhancement as opposed to a core ZMud mapper function:

#call %maplocked(0)

You can leave it in map mode, but if locked then nothing gets created.
_________________
EDIT: I didn't like my old signature
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