GetBaseSpellListSpells

From GECK
Jump to: navigation, search


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.

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