IsOwnedObjectInList - RefCollectionAlias

From Creation Kit
Jump to: navigation, search

Member of: RefCollectionAlias Script

Returns true if actorOwner owns anything in the collection

Syntax

bool function IsOwnedObjectInList(Actor actorOwner)

Parameters

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

Return Value

Whether the actorOwner owns anything in the collection

Examples

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

See Also