|
SBG Novice
Joined: 05 Mar 2003 Posts: 44 Location: Australia
|
Posted: Wed Mar 18, 2015 11:33 pm
Another Automapper Question |
Sorry if this has been already answered, but for the life of me I can't find it...
In Zmud there was/is a System/Automapper class folder that is enabled once the mapper is put into edit mode, so that triggers for things like colouring rooms can be used, and disabled when mapper it put back into follow mode, which doesn't seem to be the case for Cmud ? How can this be reproduced in Cmud or does Cmud do it different ?
Basicly I just need some triggers and hotkeys automaticly enabled while only in edit mode and disabled in follow mode.
Thanks in advance, Mark. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Wed Mar 18, 2015 11:39 pm |
you could have those triggers check against %maplocked
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
SBG Novice
Joined: 05 Mar 2003 Posts: 44 Location: Australia
|
Posted: Thu Mar 19, 2015 12:07 am |
Via the onRoomEnter ? if so it would have to run all the time ?
|
|
_________________ Windows 7U x64 SP1
AMD Phenom X4 9650
8 Gig mem
CMUD Pro v3.34
Zmapper v1.30 |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Thu Mar 19, 2015 12:37 am |
in the trigger macro or alias itself
#IF (!%maplocked) {do something} {map is locked}
They would be enabled all the time, yes, but they won't do anything unless the condition is met.
The onRoomEnter event doesn't care about the state of the map, just that you moved.
You could use an expression trigger to toggle the class these settings are housed in though. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
SBG Novice
Joined: 05 Mar 2003 Posts: 44 Location: Australia
|
Posted: Thu Mar 19, 2015 12:44 am |
Ok, Many thanks, I'll look into it now.
Cheers, Mark. |
|
_________________ Windows 7U x64 SP1
AMD Phenom X4 9650
8 Gig mem
CMUD Pro v3.34
Zmapper v1.30 |
|
|
|
|
|