Difference between revisions of "ScriptEffectElapsedSeconds"
Jump to navigation
Jump to search
imported>Dev akm (time functions) |
imported>Vswe m (Added Search Terms) |
||
(4 intermediate revisions by 2 users not shown) | |||
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. | ||
This function will return fractional values. (i.e. values between 0 and 1 seconds) | This function will return fractional values. (i.e. values between 0 and 1 seconds) | ||
==See Also== | |||
* [[GetSecondsPassed]] | |||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | [[Category: Functions (CS 1.0)]] | ||
[[Category: Magic Functions]] | [[Category: Magic Functions]] | ||
Line 12: | Line 16: | ||
[[Category: Time Functions]] | [[Category: Time Functions]] | ||
[[Category: Time Functions (CS 1.0)]] | [[Category: Time Functions (CS 1.0)]] | ||
<!-- Begin Search Terms | |||
Script | |||
Effect | |||
Elapsed | |||
Seconds | |||
End Search Terms --> |
Latest revision as of 12:28, 20 June 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)
See Also[edit | edit source]