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

Description

Wiki Description

Gets the Actor reference that owns this object. Will return None if the object isn't owned by a specific actor reference, OR if the owning actor is not currently loaded/persisting.

Documentation Comment

Gets the Actor (reference) that owns this object (or None if not owned by an Actor)


Caveats


Examples

; Is this actor the owner of the sword?
Actor actorSelf = (Self As Actor)
bool selfOwnsSword = (SwordProperty.GetActorOwner() == actorSelf)

Auto-Generated Example

Actor returnedValue = myObjectReference__toCallFunctionOn.GetActorRefOwner()

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.