Just had a problem with the Dialog Item Clicked trigger event.
The problem I was having is that the clicked event is registering for triggers that were disabled when it happened. To better illustrate this, here's a simplified version of my setup:
-----
trigger 3 is initially off
triggers 1 and 2 initially on
trigger1-
event: dialog item clicked
action: various actions; run trigger 2;
trigger 2:
actions: do about 10 actions; turn on trigger 3 (not execute it);
trigger 3:
event: dialog item clicked
action: explode the computer;
----
The first time a dialog item is clicked, it performs all actions in trigger 1, performs all actions in trigger 2, turns on trigger 3, and then performs all actions in trigger 3.
The best and only solution that i've found here is to modify trigger 2 to have a wait time
----
trigger 2 (fixed)
actions: do about 10 actions; wait .01 seconds; turn on trigger 3;
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Just had a problem with the Dialog Item Clicked trigger event.
The problem I was having is that the clicked event is registering for triggers that were disabled when it happened. To better illustrate this, here's a simplified version of my setup:
-----
trigger 3 is initially off
triggers 1 and 2 initially on
trigger1-
event: dialog item clicked
action: various actions; run trigger 2;
trigger 2:
actions: do about 10 actions; turn on trigger 3 (not execute it);
trigger 3:
event: dialog item clicked
action: explode the computer;
----
The first time a dialog item is clicked, it performs all actions in trigger 1, performs all actions in trigger 2, turns on trigger 3, and then performs all actions in trigger 3.
The best and only solution that i've found here is to modify trigger 2 to have a wait time
----
trigger 2 (fixed)
actions: do about 10 actions; wait .01 seconds; turn on trigger 3;