Mod:Creation Kit/StoreInWorkshop - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

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

Syntax
Function StoreInWorkshop(Form akBaseItem, int aiCount = 1) native

Parameters

 * akBaseItem: The Mod:Creation Kit/Base Object of the item to store.
 * aiCount: How many of the Mod:Creation Kit/Base Object to store. (Must be at least 1)
 * Default: 1

Return Value
None.

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