Difference between revisions of "SpawnUnit WorldScript"

From Serious Sam's Bogus Detour
Jump to: navigation, search
Line 1: Line 1:
 +
{{WorldscriptIcon|rgb(218, 205, 102)|256|0}}
  
 +
This is a worldscript. This script can be executed by other scripts. This script can be enabled or disabled.
  
−
Spawns units, like enemies, units or props. To spawn several units on the same point, loop the script with a [[ScriptLink WorldScript]].
+
== Properties ==
 +
 
 +
* Resource <code>UnitType</code>, unit producer
 +
* String <code>SceneName</code>
 +
* Integer <code>Layer</code>
 +
 
 +
== Unit sources ==
  
−
== Properties ==
+
* <code>LastSpawned</code>
−
* ...
+
* <code>AllSpawned</code>
−
* ...
 

Revision as of 18:07, 24 July 2017

This is a worldscript. 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