|
SBG Novice
Joined: 05 Mar 2003 Posts: 44 Location: Australia
|
Posted: Fri May 28, 2004 1:37 pm
Automaticly colouring rooms |
while mapping an area I thought it would be great to have the mapper
set room colour by triggers eg.
You feel dizzy, and everything seems to spin around you.
so this room would be set to blue
the problem with this is the mapper always colours the room
before the one I step into not the one with the trigger phase.
I've tried all sorts of ways to delay the action but to no avail.
if anyone as an idea to help I'm all ears (so to speak)
many thanks.
mark |
|
|
|
Rorso Wizard
Joined: 14 Oct 2000 Posts: 1368
|
Posted: Fri May 28, 2004 3:31 pm |
quote: Originally posted by SBG
while mapping an area I thought it would be great to have the mapper
set room colour by triggers eg.
You feel dizzy, and everything seems to spin around you.
so this room would be set to blue
the problem with this is the mapper always colours the room
before the one I step into not the one with the trigger phase.
I've tried all sorts of ways to delay the action but to no avail.
if anyone as an idea to help I'm all ears (so to speak)
many thanks.
mark
Something like this might work:
#ALIAS onroomcreate {#echo onroomcreate;#noop %roomcol(, @col);col=""}
#ALIAS onroomenter {col=""}
#TRIGGER {door} {#if (%maplocked()=false) {col="green"}}
The example colours the room green if the word "door" is triggered. |
|
|
|
SBG Novice
Joined: 05 Mar 2003 Posts: 44 Location: Australia
|
Posted: Sat May 29, 2004 10:36 am |
Thank you kind sir, It works perfectly
and from your example I've been able to get a couple of
other things to work as well.
*Applause*
Thanks Heaps
mark. |
|
|
|
|
|