Difference between revisions of "GetNthMagicEffectCounter"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JRoush
m
imported>JRoush
m (fixed broken category link)
 
Line 31: Line 31:
[[Category:Magic Functions]]
[[Category:Magic Functions]]
[[Category:Magic Functions (OBSE)]]
[[Category:Magic Functions (OBSE)]]
[[Category:Magic Functions - Magic Effect (OBSE) (OBSE)]]
[[Category:Magic Functions - Magic Effect (OBSE)]]

Latest revision as of 19:02, 9 November 2010

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