GetBaseSpellListSpells

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns an array containing all spells attached to the base form of the specified actor or calling reference. Added by NVSE 4.5.

Syntax

[help]
(array) actor.GetBaseSpellListSpells Target:actor

Example

array_var Base_Spells

let Base_Spells := PlayerREF.GetBaseSpellListSpells

Ar_Dump Base_Spells would print something like:

** Dumping Array #10 **
Refs: 1 Owner 0B: nvse-test.esp
[ 0.000000 ] : <no name> (00000147)

Note: not all spells have names, but id 147 refers to the 'PipBoyLight' actor effect.

See Also