IsOwnedObjectInList - RefCollectionAlias

Member of: RefCollectionAlias Script

Returns true if actorOwner owns anything in the collection

SyntaxEdit

bool function IsOwnedObjectInList(Actor actorOwner)

ParametersEdit

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

Return ValueEdit

Whether the actorOwner owns anything in the collection

ExamplesEdit

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

See AlsoEdit