Background for Skyrim SE
Member of the SpawnerTask script
voidfunctionAddSpawn(inthandle, FormformToPlace, ObjectReferencetarget, float[]positionOffset, float[]rotation, intcount=1, boolbForcePersist=false, boolbInitiallyDisabled=false)NativeGlobal

Description

Documentation Comment

Adds a spawn to the task identified by the given handle.
Running the task places a new instance of formToPlace at target reference with given rotation and position offset. Parameters are analogously defined to PlaceAtMe.
Multiple spawns can be added to the same task to be executed in a batch (which is the purpose).
(Function type: non-delayed)


Caveats


Parameters

inthandle

FormformToPlace

ObjectReferencetarget

float[]positionOffset

float[]rotation

intcount=1

boolbForcePersist=false

boolbInitiallyDisabled=false


Examples

Auto-Generated Example

int myInt__handle
Form myForm__formToPlace
ObjectReference myObjectReference__target
float[] myFloatArray__positionOffset
float[] myFloatArray__rotation
int myInt__count
bool myBool__bForcePersist
bool myBool__bInitiallyDisabled

SpawnerTask.AddSpawn(myInt__handle, myForm__formToPlace, myObjectReference__target, myFloatArray__positionOffset, myFloatArray__rotation, myInt__count, myBool__bForcePersist, myBool__bInitiallyDisabled)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.