Difference between revisions of "AttachNewUnit WorldScript"

From Serious Sam's Bogus Detour
Jump to: navigation, search
m (Text replacement - " This script can be enabled or disabled." to "")
 
Line 1: Line 1:
 
{{WorldscriptIcon|rgb(125, 23, 166)|416|0}}
 
{{WorldscriptIcon|rgb(125, 23, 166)|416|0}}
  
Attaches a scene from a unit type to the targeted unit. This script can be executed by other scripts. This script can be enabled or disabled.
+
Attaches a scene from a unit type to the targeted unit. This script can be executed by other scripts.
  
 
== Properties ==
 
== Properties ==

Latest revision as of 15:03, 26 July 2017

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