Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

twine / PlayersTrigger

Interface: PlayersTrigger โ€‹

Defined in: twine/src/core/area.ts:64

Activates an area while any player matches selector.

Turns off again once nobody matches, unless latch: true.

Properties โ€‹

kind โ€‹

kind: "players"

Defined in: twine/src/core/area.ts:65


latch? โ€‹

optional latch?: boolean

Defined in: twine/src/core/area.ts:68

Default false. true keeps the area on until <name>/deactivate.


selector โ€‹

selector: Selector

Defined in: twine/src/core/area.ts:66

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.