GetDefaultObject - DefaultObject

Revision as of 07:31, 18 October 2017 by imported>Qazaaq (added f4se member)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

F4SE Member of: 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)

Notes

None

See Also