Mod:Creation Kit/PlaceAtMe - ObjectReference

Mod:Creation Kit/Category:Scripting Mod:Creation Kit/Category:Papyrus Mod:Creation Kit/Category:Inventory-safe Papyrus Functions Member of: Mod:Creation Kit/ObjectReference Script

Makes X new references of the passed in form, optionally forcing them to persist, and places them at our reference's location, returning the last one it created.

Parameters

 * akFormToPlace: The base form to create references of.
 * Note: the akFormToPlace can be things such as MiscObject, ActorBase, etc...
 * aiCount: How many references to make at once.
 * Default: 1
 * Caution: Only the last reference created is returned.
 * abForcePersist: True to force the created reference to be persistent.
 * Default: False
 * abInitiallyDisabled: True to force the reference to be initially disabled
 * Default False
 * abDeleteWhenAble: True to force the reference to be deleted as soon as it is no longer persisted by a property or quest and is no longer in the loaded area.
 * Default True

Return Value
The last ObjectReference that was created. Or None if no references could be created for some reason.