Difference between revisions of "GetNthMagicEffectCounter"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>CSbot
(Automated import of articles)
 
imported>JRoush
m (fixed broken category link)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{BotAddedPage|CSbot|DragoonWraith}}
{{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.ALTALIAS.
  | 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
Line 9: Line 8:
  | arguments =  
  | arguments =  
   {{FunctionArgument
   {{FunctionArgument
  | name = whichCounter
  | type = short
  }}{{FunctionArgument
   | name = effect
   | name = effect
   | type = ref
   | type = ref
Line 16: Line 18:
  | altArgs =  
  | altArgs =  
   {{FunctionArgument
   {{FunctionArgument
  | name = whichCounter
  | type = short
  }}{{FunctionArgument
   | name = effectCode
   | name = effectCode
   | type = long
   | type = long
Line 26: 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 18: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.