SpawnObjects create a specified object at their location.
Fields[]
The SpawnObject element has one field:
- Object: A drop-down of all of the available objects, including doodads, actors, and items.
Tips[]
Right clicking on a SpawnObject while linking scripts offers the selection of 'Last Spawned,' allowing a script to target the most recently spawned object.
Prefabs can be spawned using a SpawnObject script, and targeted using 'Last Spawned'. To create a prefab, save a level then open it with notepad and surround it with <prefab> </prefab>.