FANDOM



Rule_AddInterval(<sRuleName>, <iFrameInterval>)
Description
Call the function <sRuleName> every <iFrameInterval> seconds.
Example
function updateTimer()
...code...
end
Rule_AddInterval("updateTimer", 1)
Arguments


Notes
The docs say once every 10 * <iFrameInterval> game frames (variable between ~.1 and .3 seconds) -- which is wrong.
Scope
Related Pages

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.