GetBaseObject - ObjectReference
Member of: ObjectReference Script
Obtains the base object for this reference.
SyntaxEdit
Form Function GetBaseObject() native
ParametersEdit
None.
Return ValueEdit
The base object for this reference.
ExamplesEdit
; Obtains the base weapon for this reference
Weapon sword = SwordOfDoomProperty.GetBaseObject() as Weapon
NotesEdit
If this function is called on a leveled Actor it will return the base object shown in the editor (the leveled actor base) and it will NOT return the temporary base object of the actor in the world. To obtain that base object, use GetLeveledActorBase on the actor instead.