GetLevCharacterRefs

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns an array with entries matching the contents of a specified leveled character.

Syntax

[help]
(array) GetLevCharacterRefs Source:LeveledCharacter 

Example

array_var Freeside_Encounters

let Freeside_Encounters := GetLevCharacterRefs VarFreesideThug

Ar_Dump Freeside_Encounters would print:

** Dumping Array #22 **
Refs: 1 Owner 0B: nvse-test.esp
[ 0.000000 ] : Freeside Thug (00118A8B)
[ 1.000000 ] : Freeside Thug (00118A8C)
[ 2.000000 ] : Freeside Thug (00118A82)
[ 3.000000 ] : Freeside Thug (00118A83)
[ 4.000000 ] : Freeside Thug (00118A84)
[ 5.000000 ] : Freeside Thug (00118A8D)
[ 6.000000 ] : Freeside Thug (00118A89)
[ 7.000000 ] : Freeside Thug (00118A8A)

See Also