| 07-21-2006, 08:53 PM | #1 |
If I don't have an event, will the trigger run when the condition is met instead of when something happens and then checking the condition? (I think this is noob question that I knew the answer to when I first started WE) ![]() |
| 07-21-2006, 08:55 PM | #2 |
Everything needs a event. Your event was clicking Submit thread, and the action was this thread being created. Without a event, it will never happen. Unless you Trigger running it from another trigger. |
| 07-21-2006, 08:58 PM | #3 |
You know, I always think of life as a trigger with, sometimes with or without an event. If the color of the traffic light is green, then DRIVE!!! Drat... I don't want to use periodic timer events, those can build up lag... I'm having trouble with a trigger that will deal damage to units with a certain buff, but I don't know what event I should use. I have the rest all figures out, just that goddam event. |
| 07-21-2006, 09:08 PM | #4 |
When do you want your trigger to run? |
| 07-21-2006, 09:17 PM | #5 |
If you want trigger to trigger :) when conditions are met, throw it into 0.01 (ok ok 0.02) periodic event |
| 07-21-2006, 09:19 PM | #6 | |
Quote:
|
| 07-21-2006, 09:35 PM | #7 |
I'm confused!!! Here's what I want. My hero casts a spell called Flame Stomp. I want any unit with the Flame Stomp buff to take damage == to the level of the ability * 2 (this i can do) every second for 6 seconds. I just don't know what event to use. I thought of using A unit begins casting, but would the actions kick in late enough for the units to have the buff? Maybe a 0.05 wait or something... I can always set the effect time of the spell to 1 second, hopefully giving enough time for the trigger to find the buff. IDEA! Maybe I could do this: Unit casts ability equal to flame stomp, then run trigger whatever. Trigger whatever doesnt have an event... and this is where I'm stuck. NOW i don't know what action to use so that the trigger will go through every unit... unless I used a unit group set to EVERY UNIT (ahhh) and then check for said buff, then do the actions needed... Hmm... I'll make a trigger and second post (pardon moderators, this post is too long to add more). Sorry this is so badly written, but I thought up ideas as I wrote it and didn't feel like back tracking it. |
| 07-21-2006, 10:31 PM | #8 |
Perodic event, by default turned off. Then, when the buff exists, turn on, and start a 6 seconds timer. When the time reaches 0, turn off trigger again. Unfortunately, this is not multi-instanceable, at least in gui. |
| 07-21-2006, 10:40 PM | #9 |
Well I'm currecntly working on a trigger that will hopefully work. I'll post it up in all it's peices when its done. |
