Is it possible I can get the integer value left remaining in the timer? I've tried making a variable for it, found one in the - Preset, Timer Duration. I can't seem to figure out how to use it to pull a timer's duration though since there's no functions in it other than a preset "Infinite".
I tried this myself and after researching I settled with just a wait with the time I need to create the action.
I assume (and am hopefully wrong) that the timer variable and functions are purely for display effect, while the 'wait' function seems to actually be useful.
I have a respawn with a timer window for the player, but it's just for looks, so after the trigger 'wait' the amount of time to respawn, the trigger executes the respawn.
Nah it's not for looks. I am trying to use it to carry on a timer that was left in the previous game into the bank. I am very sure there should be a way to do this.
Lol I know I suck, so I'll suggest a sucky method. Create a loop that incriments a variable +1 every second of game time. If done along with the timmer they should hold the same value.
lol, that method "technically" works under some working. However, does anyone know how to get that particular timer duration to be setted into a variable? I don't like to stare at a large trigger :\
Uhhh, what the heck guys?
Timer duration is an included function in SC2. It returns a real value, not an integer. If you really need an integer, use a conversion.
Uhhh, what the heck guys?
Timer duration is an included function in SC2. It returns a real value, not an integer. If you really need an integer, use a conversion.
:X NUUUUUUUUUUUUUUUUUUUUU, But thanks!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible I can get the integer value left remaining in the timer? I've tried making a variable for it, found one in the - Preset, Timer Duration. I can't seem to figure out how to use it to pull a timer's duration though since there's no functions in it other than a preset "Infinite".
@DarkForce9999: Go
I tried this myself and after researching I settled with just a wait with the time I need to create the action.
I assume (and am hopefully wrong) that the timer variable and functions are purely for display effect, while the 'wait' function seems to actually be useful.
I have a respawn with a timer window for the player, but it's just for looks, so after the trigger 'wait' the amount of time to respawn, the trigger executes the respawn.
Nah it's not for looks. I am trying to use it to carry on a timer that was left in the previous game into the bank. I am very sure there should be a way to do this.
Lol I know I suck, so I'll suggest a sucky method. Create a loop that incriments a variable +1 every second of game time. If done along with the timmer they should hold the same value.
@BasicGear: Go
lol, that method "technically" works under some working. However, does anyone know how to get that particular timer duration to be setted into a variable? I don't like to stare at a large trigger :\
Uhhh, what the heck guys?
Timer duration is an included function in SC2. It returns a real value, not an integer. If you really need an integer, use a conversion.
:X NUUUUUUUUUUUUUUUUUUUUU, But thanks!