GetFirstOwnedObject - RefCollectionAlias
From Creation Kit
Member of: RefCollectionAlias Script
Returns first reference in collection that is owned by the specified actor
ObjectReference function GetFirstOwnedObject(Actor actorOwner)
- actorOwner: The actor whose ownership we're looking for
First owned reference in the collection. None if nothing owned is found.
;find player owned object ObjectReference myObject = Alias_StolenItems.GetFirstOwnedObject(Game.GetPlayer())