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


Joined: 05 Mar 2003
Posts: 44
Location: Australia

PostPosted: 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.
Reply with quote
shalimar
GURU


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

PostPosted: Wed Mar 18, 2015 11:39 pm   
 
you could have those triggers check against %maplocked
_________________
Discord: Shalimarwildcat
Reply with quote
SBG
Novice


Joined: 05 Mar 2003
Posts: 44
Location: Australia

PostPosted: 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
Reply with quote
shalimar
GURU


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

PostPosted: 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
Reply with quote
SBG
Novice


Joined: 05 Mar 2003
Posts: 44
Location: Australia

PostPosted: 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
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