GenericAddForm

From GECK

A function added by the New Vegas Script Extender.

Description

Adds a form to an embedded list of forms associated with an object at a given index; passing -2 will add to the end of the list. Added by NVSE 4.5.

Syntax

(none) GenericAddForm ListCode:int Target:object ToAdd:form Index:int

Embedded List Codes

Example

To add a new head part to Easy Pete:

GenericAddForm 10, EasyPeteREF, EyePatch, -2

Note: Changes to an actor's 3D are not visible until it reloads, which can be forced using Update3D.

See Also

Personal tools