SpawnUnit WorldScript

From Serious Sam's Bogus Detour
Revision as of 12:12, 26 July 2017 by Scratch (talk | contribs)

Jump to: navigation, search

Spawns a unit at the position of this script. LastSpawned is set to a single unit of the last unit that this script spawned, while AllSpawned contains all units that this script spawned that were not destroyed yet. This script can be executed by other scripts. This script can be enabled or disabled.

Properties

  • Resource UnitType, unit producer
  • String SceneName
  • Integer Layer

Unit sources

  • LastSpawned
  • AllSpawned