FireEvent
The FireEvent effect allows to fire an event in the app. Events can trigger mechanics.
JSON Format
{
"type": "fireEvent",
"event": ...,
"event_names": ...
}
Fields
| Field | Type | Required | Description |
|---|---|---|---|
event_names | StatFormulaComponent | The names of the events to fire. This stat formula must return an array of strings. Each of these event names require you to make use of the eventName stat formula component where appropriate to ensure the events get picked up by the appropriate resource (for clarification, see the information banner in Mechanic).@type array<string> |