|
Reygar Novice
Joined: 22 Aug 2004 Posts: 32
|
Posted: 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 |
|
|
|
mr_kent Enchanter
Joined: 10 Oct 2000 Posts: 698
|
Posted: 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.
|
|
|
|
Reygar Novice
Joined: 22 Aug 2004 Posts: 32
|
Posted: 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. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: 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 |
|
|
|
|
|