SpawnObjects create a specified object at their location.


The SpawnObject element has one field:

  • Object: A drop-down of all of the available objects, including doodads, actors, and items.


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>.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.