SetNthDefaultForm

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Sets the form at the specified index in the list of Default Objects (forms). Warning: There is no check that the new form is valid. Default objects are viewable under the 'Gameplay' section of the GECK, or in GameForm.h (kDefaultObjectNames).

Syntax

[help]
(none) SetNthDefaultForm Index:int New:form 

Example

SetNthDefaultForm 5, SomeValidForm

See Also