Difference between revisions of "GetNthMagicEffectCounter"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JRoush
(Removed template, added missing argument)
imported>JRoush
m
Line 1: Line 1:
{{Function
{{Function
  | origin = OBSE
  | origin = OBSE
  | summary = Returns the ''N''th counter to the magic effect. The counter is a magic effect referred to by code, rather than formID.
  | summary = 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.
  | name = GetNthMagicEffectCounter
  | name = GetNthMagicEffectCounter
  | alias = GetNthMECounter
  | alias = GetNthMECounter

Revision as of 18:28, 17 October 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.