|
jat63 Wanderer
Joined: 22 Sep 2003 Posts: 53 Location: United Kingdom
|
Posted: Sat Apr 14, 2007 2:22 pm
[1.27] Problem with trigger and wait |
If you create a trigger of type expression for the first state and wait as the second state the second state is never entered. This is not a generic problem as a wait state works if the first state is pattern rather than expression.[/code]
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Apr 17, 2007 6:07 pm |
Yes, there are certain combinations of trigger states that don't work perfectly. Trigger states were designed to be used when the first state is a normal pattern match trigger. When the first state is some other type (like expression), then they don't work perfectly. The same issue occurs in zMUD.
|
|
|
|
jat63 Wanderer
Joined: 22 Sep 2003 Posts: 53 Location: United Kingdom
|
Posted: Tue Apr 17, 2007 8:06 pm |
The wait trigger does work correctly with an expression trigger when used in zMUD, the error is only in cMUD. Is this likely to be something you will be fixing at some point in the future or a permanent feature?
|
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Apr 17, 2007 10:02 pm |
Well, that's very odd because zMUD and CMUD use the same trigger state machine. So I'm not sure why it would work in one and not the other. Expression triggers did change in CMUD so that they only fire when a variable used in the trigger changes, so maybe that has something to do with it. I'll add it to the bug list and investigate it in the future.
|
|
|
|
|
|