Events - Anxietie/Movement-Macros GitHub Wiki

Events are of the macro type event and must specify the fields: event_type, macro, and fire_mode.

Macros ran from events are tick precise in that they get ran as soon as the event is fired; there is no delay between the event getting called and the macro running.

MULTIPLE MACROS CAN BE RAN FROM THE SAME EVENT. The order specified in the JSON file is the order they will run when the event is called. From this example, first Jump is ran when the player lands, then Safe Land is ran the next time the player lands. THIS ONLY WORKS IF THE EVENTS FIRE ONLY ONCE (their fire_mode is set to once).

JSON Format:

"inputs": [
  "...": "...",
  {
    "macro_type": "event",
    "event_type": "<player_land|player_jump>",
    "macro": "<name of macro to run once event is fired>"
    "fire_mode": "<once|manual|repeat>"
  }
]

Optional Fields:

  • "count": <integer> only specified if fire_mode is manual; this field specifies the max number of times the macro can be ran from the event (i.e. if count was set to 2 and event_type was player_land, after the player lands twice, the macro won't get run anymore)
⚠️ **GitHub.com Fallback** ⚠️