ScriptEffectElapsedSeconds

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Available only in Effect Scripts. Returns seconds elapsed since the last magic effect update. This will only return a value greater than 0 inside a ScriptEffectUpdate block (but it will compile without error in other block types).

Syntax

[help]
(elapsedSeconds:float) ScriptEffectElapsedSeconds

Example

float fTimer
 set fTimer to fTimer + ScriptEffectElapsedSeconds