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
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Tue Jul 03, 2007 5:03 pm   

[1.34] Disabled trigger substate disables the whole trigger
 
You can unset the enabled flag on a substate of a trigger (any but the first) and this ends up disabling the whole trigger. This might be annoying, as you can't readily see this once the states are collapsed (the trigger does not gray out), and since double-clicking on a state toggles the flag, it could be easy to do by mistake.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Tue Jul 03, 2007 6:22 pm   
 
I'm not sure if this is a bug - I always thought that states couldn't be disabled separate from their parent trigger or button. If it's not a bug, you're right that a UI update could be a good idea. Perhaps there's even room to add that feature, being able to enable and disable states individually.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zhiroc
Adept


Joined: 04 Feb 2005
Posts: 246

PostPosted: Tue Jul 03, 2007 8:52 pm   
 
The critical part of the bug is that the substate is what grays out, not the whole trigger. So once you collapse the states down, it still looks enabled.

It might be nice if you could disable a substate, but that's more a feature request.
Reply with quote
Thinjon100
Apprentice


Joined: 12 Jul 2004
Posts: 190
Location: Canada

PostPosted: Tue Jul 03, 2007 9:37 pm   
 
Nod... I've attempted to disable substates in the past and I was told it wasn't possible. Would definitely be a cool feature, and for some conditional triggers, a potentially powerful addition... the trigger conditions could change based on information from previous states. I'd say that if a substate were disabled, continue with the next substate (if one exists).
_________________
If you're ever around Aardwolf, I'm that invisible guy you can never see. Wizi ftw! :)
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Wed Jul 04, 2007 5:03 am   
 
Can't you accomplish this by basically having a secondary trigger that you substate enables or disables. I tend to use this approach and it works for me. I even prefer it to using the Within Lines parameter, but that may be more out of habit.
_________________
Asati di tempari!
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Jul 04, 2007 5:29 pm   
 
Individual trigger states cannot be disabled....double-clicking a trigger state changes the enable/disable of the parent trigger (as you noticed). I'll add an item to the to-do list for the future to see if individual states can be enabled or disabled. When I remove the code that allows you to double-click a trigger to enable/disable it, then this shouldn't be so much of a problem. I'll also try to fix it so that it properly shows the main trigger as disabled instead of the sub state.
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