GetDefaultObject - DefaultObject

From Creation Kit
Jump to: navigation, search

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

Gets the Form for this default object by editor ID.

Syntax

Form Function GetDefaultObject(string editorId) Global Native

Parameters

  • editorId: The editor id of a default object.

Return Value

The Form for the default object.

Examples

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

Notes

None

See Also