GetNthEffectItem

Revision as of 13:56, 1 July 2012 by imported>QQuix (New page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(effectItem:StringMap) GetNthEffectItem whichEffect:int

Returns a StringMap fully describing the specified effect item. The StringMap has the following key-value pairs:

(numeric) effectCode, area, magnitude, duration, range, cost         
(string) name         
(numeric) actorValue - an actor value code, if applicable to the effect
(StringMap) SEFF - for script effects, additional data about the effect:             
   (numeric) school, visualEffectCode - "school" is a magic skill actor value code             
   (ref) script             
   (bool) hostile.