-
-
Notifications
You must be signed in to change notification settings - Fork 9
Creating an Event
Homura edited this page Dec 31, 2025
·
5 revisions
The easiest way to do this is by editing our Example Event script, extract the files inside mods/custom_events/
1. Open states/editors/ChartingState.hx and around Line 70 you will see the defaultEvents array.

2. Add your new Event's name and description to it.
1. Open PlayState.hx
2. Search for the function named triggerEventNote, add a new case using your event's name and code your event's action there.

Some events like "Kill Henchmen" are triggered earlier than their chart position (280ms earlier).
If you want to do something similar, search for the function eventNoteEarlyTrigger and set a new case with your event's name and how many milliseconds earlier should it be triggered.