GetNthActiveEffectTimeElapsed
Revision as of 23:06, 25 November 2007 by imported>Haama (Created)
A command for Oblivion Script Extender
Syntax:
(timeElapsed:float) reference.GetNthActiveEffectTimeElapsed whichEffect:long (timeElapsed:float) reference.GetNthAETime whichEffect:long
Returns the time that the Nth Active Effect has been applied to the reference.
Example
float EffectTimePassed set EffectTimePassed to (player.GetNthActiveEffectTimeElapsed 0)
If the player currently has two Shield effects, the first in effect for 10 seconds and the second for 90, this will return 10.