GetNthEffectItem

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
< [[::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.