Skip to main content

FireEvent

The FireEvent effect allows to fire an event in the app. Events can trigger mechanics.

JSON Format

{
"type": "fireEvent",
"event": ...,
"event_names": ...
}

Fields

FieldTypeRequiredDescription
event_namesStatFormulaComponentThe 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>