GetDefaultForms

From GECK

A function added by the New Vegas Script Extender.

Description

Returns an array with elements matching all the Default Objects (forms). Default objects are viewable under the 'Gameplay' section of the GECK, or in GameForm.h (kDefaultObjectNames). Added by NVSE 4.5.

Syntax

(array) GetDefaultForms 

Example

array_var Default_Forms

let Default_Forms := GetDefaultForms

Ar_Dump Default_Forms would print something like:

** Dumping Array #32 **
Refs: 1 Owner 0B: nvse-test.esp
[ 0.000000 ] : Stimpak (00015169)
[ 1.000000 ] : Sugar Bombs (0008C551)
[ 2.000000 ] : Rad-X (00015168)
[ 3.000000 ] : RadAway (00015167)
[ 4.000000 ] : Med-X (00050F8F)
[ 5.000000 ] : Paralyzing Palm (0006B20B)
[ 6.000000 ] : Player Faction (0001B2A4)
[ 7.000000 ] : Mysterious Stranger (0005F9CE)
[ 8.000000 ] : Mysterious Stranger Faction (0007F505)
...
[ 33.000000 ] : <no name> (0015FF5F)

See Also

Personal tools