SpawnUnitWithEffect WorldScript

From Serious Sam's Bogus Detour
Revision as of 16:00, 26 July 2017 by Scratch (talk | contribs) (Text replacement - " This script can be enabled or disabled." to "")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Spawns a unit on the position of this script, with the given effect. This script can be executed by other scripts.

Properties

  • Resource UnitType, unit producer
  • String SceneName
  • Resource SpawnEffect, effect
  • Integer SpawnLayer
  • Unit feed EffectFinishTrigger, validates
  • Integer EffectLayer
  • Resource SpawnSound, sound

Unit sources

  • LastSpawned
  • AllSpawned