Background for Fallout 4
Member of the ObjectReference script
voidfunctionStoreInWorkshop(FormakBaseItem, intaiCount=1)Native

Description

Wiki Description

If the reference is a Workshop Container, stores the given object with an optional count.

Documentation Comment

If the reference is a Workshop, stores the given object with an optional count.


Caveats

CK Wiki - Notes


Parameters

  1. FormakBaseItem

    CK Wiki Description

    The Base Object of the item to store.

  2. intaiCount=1

    CK Wiki Description

    How many of the Base Object to store. (Must be at least 1)

    • Default:1

Examples

; Store 10 widgets in our Workshop
MyWorkshop.StoreInWorkshop( WidgetForm, 10 )

Auto-Generated Example

Form myForm__akBaseItem
int myInt__aiCount

myObjectReference__toCallFunctionOn.StoreInWorkshop(myForm__akBaseItem, myInt__aiCount)

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.