in trigger zone
Details
Kode wheel segment | Sensors |
Style | Sensor |
Modifiers | None |
Primarily WHEN/DO | WHEN |
Pre-made brains that use it | Goblin spawner |
Sensors > in trigger zone
Description
This is a sensor tile. It detects if an object is within the trigger zone sensor area. The trigger zone sensor is rectangular in shape and can be placed away from the actual object it is connected to and resized. (PC players currently cannot alter the size of the trigger zone, oddly). You can specify single objects or groups of objects. Watch the syntax for this tile, it reads as if it should be
WHEN [object][in trigger zone] but this will not work
use
WHEN [in trigger zone][object]
Example Code
WHEN [in trigger zone] [IWP: hero] DO [boolvar: activate boss][=][true]
Modifiers
None