Mod:Creation Kit/GetDefaultObject - DefaultObject

F4SE Member of: Mod:Creation Kit/DefaultObject Script

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)