GetWorkshopOwnedObjects - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 15:51, 30 May 2014 by imported>DarkruneDK (Created page with "Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script Finds all references linked to the Workshop reference that are...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: 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

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

See Also