AttachNewUnit WorldScript
From Serious Sam's Bogus Detour
Attaches a scene from a unit type to the targeted unit. This script can be executed by other scripts.
Properties
- Resource
UnitType
, unit producer - String
SceneName
- Unit feed
AttachTo
, maximum 1 unit - Integer
OffsetX
- Integer
OffsetY
- Boolean
DestroyOnDestroy
, default: true - Integer
Layer
, default: -1 - Integer
Duration
, default: -1