AttachNewUnit WorldScript

From Serious Sam's Bogus Detour
Revision as of 16:03, 26 July 2017 by Scratch (talk | contribs) (Text replacement - " This script can be enabled or disabled." to "")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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