IsOwnedObjectInList - RefCollectionAlias

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: RefCollectionAlias Script

Returns true if actorOwner owns anything in the collection

Syntax[edit | edit source]

bool function IsOwnedObjectInList(Actor actorOwner)

Parameters[edit | edit source]

  • actorOwner: The actor whose ownership we're looking for

Return Value[edit | edit source]

Whether the actorOwner owns anything in the collection

Examples[edit | edit source]

;check for player ownership
if Alias_StolenItems.IsOwnedObjectInList(Game.GetPlayer())
  Debug.Trace("Player owns something...")
endIf

See Also[edit | edit source]