| 11-18-2003, 01:20 AM | #1 |
Ok, I'm just curious, is there a check made whenever an event fires, even with a false condition? More clear way of saying that: Lets say there are two triggers: Event - Ability cast Condition - Ability = to A Actions... Event - Ability is cast Condition - Ability = to B Actions... With they both fire off when a unit casts something? I know the actions are dependant on the condition. Pretty sure that the answer is yes too, but want to make sure. I'm asking this because TBC uses a very large amount of triggers based on the same event with different conditions, and am thinking of the best way to structure them all. |
| 11-18-2003, 01:36 AM | #2 |
The way I see it, yes they do both fire and check the conditions, if conditions match they run the actions. |
| 11-18-2003, 03:28 AM | #3 |
Yes. Even if the triggers have multiple events, they run if even one of them is a go also. |
| 11-18-2003, 08:27 AM | #4 |
That's what the Triggering Event Id is for in UMSWE 4 and WEU: to find out which event fired the trigger if you got different ones. |
| 11-18-2003, 12:59 PM | #5 |
And you can have a general trigger like: Events: A unit begins casting an ability Conditions: (none) Actions: Run Trigger A (checking conditions) Run Trigger B (checking conditions) Trigger A Events: none Conditions (ability being cast) equal to A Actions... Trigger B Events: none Conditions (ability being cast) equal to B Actions... But I just found that it has the same effects as leaving the events in the other triggers and it also uses more space so trash that idea |
| 11-18-2003, 09:51 PM | #6 |
Right now I have it set for all cast triggers to be off by default, and then on after someone learns a skill. |
