HasActorRefOwner - ObjectReference

From Creation Kit
Jump to: navigation, 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

bool Function HasActorRefOwner() native

Parameters

None.

Return Value

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

Examples

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

See Also