Background for Fallout 4
Member of the ObjectReference script

Description

Wiki Description

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

Documentation Comment

Get all of the workshop objects on this Workbench owned by the given Actor.


Caveats

CK Wiki - Notes

The ObjectReference must have a LinkedRef to the Workshop via the WorkshopItemKeyword keyword in order to be found by this function. This is done automatically when an object is placed in WorkshopMode, but must be done manually if you spawn the ObjectReference with a script.


Parameters

ActorakActor

CK Wiki Description

The owning actor.


Examples

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

Auto-Generated Example

Actor myActor__akActor

ObjectReference[] returnedValue = myObjectReference__toCallFunctionOn.GetWorkshopOwnedObjects(myActor__akActor)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.