set_task with cvars?
Code:
I get tag-mis match error, but I don't see any other way to do this.... How can I adjust the set_task time with a cvar like I attempted above...? Any help would be greatly appriciated. Thanks! |
Re: set_task with cvars?
Code:
or Code:
It has to be a float not a number. a number = 1 a float = 1.0 |
Re: set_task with cvars?
task time must be float, so at first, must be:
Code:
get_cvar_float("something")Code:
Syntax |
Re: set_task with cvars?
Wow thanks!
Whats the difference between a-repeat, and b-loop task? |
Re: set_task with cvars?
a repeats x ammount of times ( x = the last argument of set task )
b repeats untill stopped or forever. ex: set_task(1.0, "func", 0, "", 0, "a", 5) repeats "func" 5 times. set_task(1.0, "func", 0, "", 0, "b") repeats forever. |
| All times are GMT -4. The time now is 00:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.