![](templates/Classic/images/spacer.gif) |
adamwalker Apprentice
Joined: 12 Mar 2005 Posts: 195
|
Posted: Sat Jan 20, 2007 12:00 pm
[1.24] #alarm and disabling of triggers |
When an alarm fires, and for whatever reason i disable triggers (usin the little gun in the bottom right)
The alarm doesnt actually fire. so my variables dont get set correctly
eg (might not be correct syntax, just done from memory)
#alias bleh {#var myvariable 1;#alarm +10 {#var myvariable 0}}
so if triggers are disabled after "bleh" fires but before the alarm hits the variable isnt set back to zero.
If I have 10 alarms fire, thats a LOT to reset if i disable triggers
might not be bug, might be. i just dont remember zmud acting in this way |
|
|
![](templates/Classic/images/spacer.gif) |
Fang Xianfu GURU
![](images/avatars/1763170544a2093e7e85da.gif)
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Jan 20, 2007 2:34 pm |
That's intended, since alarms are a kind of trigger and the whole point of the disable triggers option is to stop CMUD doing things independently of input from the user.
I suppose the command could be queued and executed when triggers are enabled again. Or maybe a dialog could come up saying "The following alarms executed while triggers were disabled. Check which ones you wish to execute." |
|
|
![](templates/Classic/images/spacer.gif) |
shalimar GURU
![](images/avatars/114658559147aeed8fee539.gif)
Joined: 04 Aug 2002 Posts: 4717 Location: Pensacola, FL, USA
|
Posted: Sat Jan 20, 2007 2:55 pm |
I would think that the countdown would pause at wherever its at myself.
If the ALARM is no longer active, what is depreciating the placeholder variable that keeps track of how long is left till it fires? |
|
_________________ Discord: Shalimarwildcat |
|
|
![](templates/Classic/images/spacer.gif) |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat Jan 20, 2007 7:20 pm |
Quote: |
That's intended, since alarms are a kind of trigger and the whole point of the disable triggers option is to stop CMUD doing things independently of input from the user.
|
Wait-states must be bugged, then. All mine still fire even though I've disabled the classes they were kept in. It'd definitely be a blessing if active waits were also disabled if the wait condition was disabled prior to the execution of said trigger's script code. |
|
_________________ EDIT: I didn't like my old signature |
|
|
![](templates/Classic/images/spacer.gif) |
Fang Xianfu GURU
![](images/avatars/1763170544a2093e7e85da.gif)
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sat Jan 20, 2007 7:32 pm |
Confirmed that alarms still fire in disabled classes. That sounds more like the bug than alarms not firing when all triggers are disabled.
|
|
|
![](templates/Classic/images/spacer.gif) |
|
|