GetNthMagicEffectCounter

< [[::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.