hello
In this trigger
Quote:
Waittrigger
Events
-a unit starts ability effect
Conditions
-Owner of casting unit controller = computer
Actions
-turn boolean_cast[playernumber of [owner of [casting unit]]] = true (example: player 1)
-wait 20.00 seconds
-turn boolean_cast[playernumber of [owner of [casting unit]]] = false (player 1?)
After that time casting unit reference is the same triggering casting unit?
what happens if other unit owned by other computer player start this trigger after 5 seconds.|||If you don't want the trigger to fire again during the wait, you can "turn this trigger off" before the wait, and then "turn this trigger on" at the end of the trigger.
If you want to 20 second countdown to be reset every time the ability is cast, you could just use that trigger to set a timer to 20 seconds, and then have a different trigger that only sets the boolean back when the timer is allowed to expire.|||thanks shadowtek, i check it now
No comments:
Post a Comment