CONTENT CONTRACT · VERSION 1
trigger_reached
A trigger fired: a player stepped into its circle while its quest stages hold (with `all_online` once every online player stands in it).
Signature
{ actor: ActorRef, kind: "trigger_reached", map: MapRef, player: PlayerRef, trigger: TriggerId }Fields
| Name | Type | Meaning |
|---|---|---|
actor | ActorRef | That player's body. Length: 1…256; Pattern: ^[\s\S]+$ |
kind | "trigger_reached" | Discriminant |
map | MapRef | Instantiated map in which this position or event occurs. Length: 1…256; Pattern: ^[\s\S]+$ |
player | PlayerRef | Player whose step into the circle fired it (with `all_online`: the last one to arrive). Length: 1…256; Pattern: ^[\s\S]+$ |
trigger | TriggerId | Trigger that fired. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: trigger |
Validated example
{
"actor": "a1",
"kind": "trigger_reached",
"map": "m1",
"player": "p1",
"trigger": "core:hunt_track_3"
}