Difference between revisions of "ScriptEffectElapsedSeconds"
Jump to navigation
Jump to search
imported>Fella |
imported>Quetzilla |
||
Line 1: | Line 1: | ||
'''Syntax:''' | '''Syntax:''' | ||
ScriptEffectElapsedSeconds | (seconds:float) ScriptEffectElapsedSeconds | ||
Available only in [[Magic effect scripts]]. Returns seconds elapsed since the last magic effect update. This will only return a value greater than 0 inside a [[ScriptEffectUpdate]] block. | Available only in [[Magic effect scripts]]. Returns seconds elapsed since the last magic effect update. This will only return a value greater than 0 inside a [[ScriptEffectUpdate]] block. |
Revision as of 23:08, 28 May 2008
Syntax:
(seconds:float) ScriptEffectElapsedSeconds
Available only in Magic effect scripts. Returns seconds elapsed since the last magic effect update. This will only return a value greater than 0 inside a ScriptEffectUpdate block.
This function will return fractional values. (i.e. values between 0 and 1 seconds)