Mod:Creation Kit/IsOwnedObjectInList - RefCollectionAlias

Member of: Mod:Creation Kit/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
if Alias_StolenItems.IsOwnedObjectInList(Game.GetPlayer) Debug.Trace("Player owns something...") endIf
 * check for player ownership