GetNthMagicEffectCounter

From the Oblivion ConstructionSet Wiki
Revision as of 18:02, 9 November 2010 by imported>JRoush (fixed broken category link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(counterEffCode:long) GetNthMagicEffectCounter whichCounter:short effect:ref 
(counterEffCode:long) GetNthMECounter whichCounter:short effect:ref 
(counterEffCode:long) GetNthMagicEffectCounterC whichCounter:short effectCode:long 
(counterEffCode:long) GetNthMECounterC

Returns the Nth counter to the magic effect, where N is the 0-based index. The counter is a magic effect referred to by code, rather than formID.