Trigger - pk-hack/CoilSnake GitHub Wiki
Triggers, formerly known as doors, are objects that exist on an 8x8px grid and allow you to create interactions when the player steps on them and/or checks them, such as doors, stairs, ladders, and signs. You can add new triggers by right-clicking and selecting "New trigger".
Trigger types
Door
Optionally executes a script and then warps the player somewhere else. Can be "locked" with a flag. If you need to make a door that runs a script but doesn't move the player anywhere, set its destination to be immediately below itself. For information on warp styles, see Warp & TP.
Escalator
When the player steps on these, they'll begin moving in the specified direction until they hit another escalator trigger. The terminus should have its direction set to "Nowhere".
Ladder
If your map has a ladder, stack these vertically on the left side of the ladder.
Object
These can be checked. Often used to make signs and stuff.
Person
Like an object, but you use "Talk to" instead of checking them. Very situational, because usually an NPC is what you'll talk to instead.
Rope
Works exactly like ladder, but for rope climbing animations.
Stairway
Works exactly like escalator, but the player must walk up or down manually. Also, they're not usually one-way, unlike escalators.
Switch
Will set a flag when walked on and can also trigger a script.
[!TIP]
- Some trigger types require certain collision flags, or they won't work. EBME will notify you if they aren't placed on the correct collision and provide a button to quickly fix the problem.
- You can set a door's destination by clicking on the map when you use the "Set destination" button. You can also jump to it.
- When you right-click, you can quickly add a generic trigger, rope, or ladder by pressing T, L, and R respectively.