SetEditorID

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender version 6.2.6.

Description

Sets the Editor ID of a form. This function is NOT to be used on existing forms in the game, but is intended for usage when creating new forms such as lambdas and cloned forms which need to be referenced outside of the mod.

Syntax

[help]
SetEditorID form:form editor id:string 

Example

ref rLambda = {} => print "Hello world"
SetEditorID rLambda "NamedLambda"
ref rClonedForm = TempCloneForm Vodka
SetEditorID rClonedForm "ClonedVodka"

See also