Jass documentation Database

JASS Documentation Database REFORGED

Results for the query "TimerStart" as a "function"

The search keyword must be a single word (no spaces).

Function TimerStart

Line: 2322
Location: common.j
Constant? no
Type: native
Arguments: timer whichTimer, real timeout, boolean periodic, code handlerFunc
Returns: nothing


Extra spaces may have been removed from the original file to show the function in a comfortable way.
  1. native TimerStart takes timer whichTimer, real timeout, boolean periodic, code handlerFunc returns nothing

Information about TimerStart

Information contributed by City17
on February 27, 2022, 10:58:08 AM.
starts a previously created whichTimer with timeout (seconds), periodic yes/no (repeats itself), that calls handlerFunc when timeout reaches 0.

It is affected by gamespeed at any point of it execution, if the gamespeed is changed at 50% of timeout duration, the rest of the timeout will be correctly affected by new gamespeed.

See: GetExpiredTimer to retrieve the handle of expired timer inside handlerFunc
Page loaded in 0.1093 seconds.
Vivir aprendiendo.co - A place for learning stuff, in Spanish   Chaos Realm - The world of Game modders and wc3 addicts   Diplo, a gaming community   Power of Corruption, an altered melee featuring Naga and Demon. Play it now!!!   WC3JASS.com - The JASS Vault + vJASS and Zinc   Jetcraft - A Starcraft II mod   WormTastic Clan (wTc)   Warcraft RESOURCES Reforged: Modelos, mapas, proyectos y mas...