Appearance
twine / ScoreTrigger
Interface: ScoreTrigger โ
Defined in: twine/src/core/area.ts:77
Activates an area from a score. Give exactly one of equals or matches.
Latches on until <name>/deactivate by default; latch: false turns it off when the score stops matching.
Properties โ
equals? โ
optionalequals?:number
Defined in: twine/src/core/area.ts:82
Activate while the score is exactly this. Mutually exclusive with matches.
kind โ
kind:
"score"
Defined in: twine/src/core/area.ts:78
latch? โ
optionallatch?:boolean
Defined in: twine/src/core/area.ts:86
Default true. false turns the area off once the score stops matching.
matches? โ
optionalmatches?:object
Defined in: twine/src/core/area.ts:84
Activate while the score is within this inclusive band; omit a bound to leave it open.
max? โ
optionalmax?:number
min? โ
optionalmin?:number
objective โ
objective:
string
Defined in: twine/src/core/area.ts:79
target โ
target:
string
Defined in: twine/src/core/area.ts:80