Background for Fallout 4
Member of the RefCollectionAlias script

Description

Wiki Description

Returns first reference in collection that is owned by the specified actor

Documentation Comment

kmk
return (first) owned object in collection


Caveats


Parameters

ActoractorOwner

CK Wiki Description

The actor whose ownership we're looking for


Examples

;find player owned object
ObjectReference myObject = Alias_StolenItems.GetFirstOwnedObject(Game.GetPlayer())

Auto-Generated Example

Actor myActor__actorOwner

ObjectReference returnedValue = myRefCollectionAlias__toCallFunctionOn.GetFirstOwnedObject(myActor__actorOwner)

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.