GetDefaultObject - DefaultObject

Revision as of 13:32, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

F4SE Member of: DefaultObject Script
Requires F4SE version 0.4.2 or higher.

Gets the Form for this default object by editor ID.

SyntaxEdit

Form Function GetDefaultObject(string editorId) Global Native

ParametersEdit

  • editorId: The editor id of a default object.

Return ValueEdit

The Form for the default object.

ExamplesEdit

string editorID = "IsSleepFurniture_DO"
Form object = DefaultObject.GetDefaultObject(editorID)
Debug.Trace("The default object with editor ID " + editorID + " has the form object " + object)

NotesEdit

None

See AlsoEdit