HasActorRefOwner - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Returns true if an Actor reference has been set to own this object -- even if that Actor is not currently loaded/persisting.

Syntax[edit | edit source]

bool Function HasActorRefOwner() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

True if an Actor reference has been set to own this object (even if that Actor is not currently loaded/persisting); false otherwise.

Examples[edit | edit source]

; Does the sword have a specific actor owner (even if that actor is now gone)?
bool swordHasActorOwner = (SwordProperty.HasActorRefOwner())

See Also[edit | edit source]