SpawnDropUnit WorldScript
From Serious Sam's Bogus Detour
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. This script can be enabled or disabled.
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