GenericGetForm

< [[::Category:Functions|Category:Functions]]

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. Added by NVSE 4.5.

Syntax

(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