SpawnDropUnit WorldScript

From Serious Sam's Bogus Detour
Jump to: navigation, search

Drop a unit from the sky using a scene from the unit. When it falls on the floor, the unit is spawned and DropTrigger is executed. This script can be executed by other scripts.

Properties

  • Resource UnitType, unit producer
  • String SceneName
  • Float Height, default: 100
  • Float InitialFallSpeed, default: 0.05
  • Float MaxFallSpeed, default: 0.4
  • Float FallSpeedMultiplier, default: 1.1
  • Unit feed DropTrigger, validates

Unit sources

  • LastSpawned
  • AllSpawned