GenericGetForm

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns the form within an embedded list of forms associated with an object at a given index.

Syntax

[help]
(form) GenericGetForm ListCode:int Target:object Index:int 

Embedded List Codes

Example

To return Easy Pete's first head part (index 0):

ref HeadPart

let HeadPart := GenericGetForm 10, EasyPeteREF, 0

; HeadPart is 'Old Beard'.

See Also