right above the duration on the buff there is a field called Display Countdown check ally and you should see it.
to do the AI thing your gonna have to make a search effect that searches for all the units around it and issues them a command to move to the source point(or caster point one of those).
You probably want to make a trigger that whenever the ability is called it also makes its own countdown timer local variable. then have that take the timer and use some math to get the time left and display it.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a unit with a buff that counts down. It has a duration of 30 seconds.
Is there any way (using triggers) to view and modify the amount of time left?
If not, is there a way to tell the AI to run to a point before it runs out?
right above the duration on the buff there is a field called Display Countdown check ally and you should see it.
to do the AI thing your gonna have to make a search effect that searches for all the units around it and issues them a command to move to the source point(or caster point one of those).
@Docablo: Go
I can see the duration in-game, but I need how much time is left for some triggers.
You probably want to make a trigger that whenever the ability is called it also makes its own countdown timer local variable. then have that take the timer and use some math to get the time left and display it.