SpawnerTask
- Found in:
- SKSE
Inheritance Tree
No indexed scripts extend this script.
Properties
Events
Functions
- Found in:
- SKSE
voidfunctionAddSpawn(inthandle, FormformToPlace, ObjectReferencetarget, float[]positionOffset, float[]rotation, intcount=1, boolbForcePersist=false, boolbInitiallyDisabled=false)NativeGlobal
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)
- Found in:
- SKSE
Runs the task and returns the spawned references in an array. May return arrays with a size larger than 128.
The resources allocated to the task are freed in the process, so the same task handle cannot be run twice.
(Function type: latent)
