Background for Fallout 4
Member of the ObjectReference script
FormfunctionGetBaseObject()Native

Description

Wiki Description

Obtains the base object for this reference.

Documentation Comment

Returns the base object this reference represents


Caveats

CK Wiki - Notes

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 Actor.GetLeveledActorBase() on the actor instead.


Examples

; Obtains the base weapon for this reference
Weapon sword = SwordOfDoomProperty.GetBaseObject() as Weapon

Auto-Generated Example

Form returnedValue = myObjectReference__toCallFunctionOn.GetBaseObject()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.