GetActiveEffectCount
Revision as of 13:56, 25 November 2007 by imported>Haama (Created)
A command for Oblivion Script Extender
Syntax:
(count:long) reference.GetActiveEffectCount
Returns the number of Active Effects on the reference.
Example
short NumEffects set NumEffects to player.GetActiveEffectCount
If the player currently has 1 potion with Shield and Restore Health, another potion with Restore Health, and a spell with Shield and Drain Health this will return 3 (Shield, Restore Health, Drain Health)