SetNthDefaultForm

From the Fallout3 GECK Wiki
Revision as of 17:37, 19 September 2014 by imported>Odessa (created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

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

Syntax

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

Example

SetNthDefaultForm 5, SomeValidForm

See Also