Difference between revisions of "SpawnDropUnit WorldScript"
From Serious Sam's Bogus Detour
(Created page with "{{WorldscriptIcon|rgb(102, 205, 218)|256|0}} This is a worldscript. This script can be executed by other scripts. This script can be enabled or disabled. == Properties == *...") |
m (Text replacement - " This script can be enabled or disabled." to "") |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{WorldscriptIcon|rgb(102, 205, 218)|256|0}} | {{WorldscriptIcon|rgb(102, 205, 218)|256|0}} | ||
| − | + | Drop a unit from the sky using a scene from the unit. When it falls on the floor, the unit is spawned and <code>DropTrigger</code> is executed. This script can be executed by other scripts. | |
== Properties == | == Properties == | ||
Latest revision as of 16:00, 26 July 2017
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