GetDefaultObject - DefaultObject
Revision as of 13:32, 21 January 2018 by imported>Qazaaq (added required f4se version)
F4SE Member of: DefaultObject Script
Requires F4SE version 0.4.2 or higher.
Gets the Form for this default object by editor ID.
Syntax[edit | edit source]
Form Function GetDefaultObject(string editorId) Global Native
Parameters[edit | edit source]
- editorId: The editor id of a default object.
Return Value[edit | edit source]
The Form for the default object.
Examples[edit | edit source]
string editorID = "IsSleepFurniture_DO"
Form object = DefaultObject.GetDefaultObject(editorID)
Debug.Trace("The default object with editor ID " + editorID + " has the form object " + object)
Notes[edit | edit source]
None