Mod:Creation Kit/GetWorkshopOwnedObjects - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Finds all references linked to the Workshop reference that are owned by the given Actor.

Syntax
ObjectReference[] Function GetWorkshopOwnedObjects(Actor akActor) native

Parameters

 * akActor: The owning actor.

Return Value
An array of references owned by the Actor.

Examples
ObjectReference[] bobsStuff = SanctuaryWorkshopRef.GetWorkshopResourceObjects(Bob)
 * Find all objects in the SanctuaryWorkshopRef workshop owned by the actor Bob.