Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 855 Bytes

trigger.md

File metadata and controls

18 lines (16 loc) · 855 Bytes

Trigger

The Trigger library provides information about a trigger in a level.

Properties

Name Type Mode Description
colour Colour RW The colour for the trigger in the viewer. Setting this to nil will set it back to default.
commands Command[] R Commands for the trigger
flags number R
number number R Trigger number
only_once boolean R Whether the trigger only fires once
position Vector3 R Position in the world
room Room R Room in which the trigger is contained
sector Sector R Sector containing the trigger
timer number R
type string R Trigger type name
visible boolean RW Whether the trigger is visible in the viewer