Original Author(s)
weirdboo
Description
These are the seven EventIf types that can be used in the jump table eventinfo to control when your event activates.
Number | EventArea Shape | Description |
---|---|---|
0 | No shape. | The event will activate repeatedly unless EventTime/EventTime2/EventTime3/EventTime4, EventFlag, disappear_flag, or EventLoad is used. Note that pos_x, pos_y, pos_z, and EventArea will be completely ignored, meaning the event can be called anywhere. |
1 | Cylinder that ignores pos_y | The event will only activate when Luigi is in the EventArea range and presses the A button. Note that the range will be contained within the room that pos_x, pos_y, and pos_z are in, meaning Luigi cannot press A to activate the event outside of the containing room. |
2 | The event will only activate once when Luigi is in the EventArea range. Luigi must go a room away and come back in order to activate the entry again. Note that the range will be contained within the room that pos_x, pos_y, and pos_z are in, meaning Luigi cannot activate the event outside of the containing room. The event will also activate after Luigi finishes opening a door, preventing glitches. | |
3 | Similar to 2, but the event activates the instant Luigi enters the containing room, meaning that glitches can occur while Luigi opens a door. | |
4 | Clone of 2 (checks CharacterName before activating, unlike type 2, but has no observable advantages or differences from type 2). | |
5 | The event will activate every time Luigi enters the EventArea range. Luigi must leave the range and re-enter it in order to activate the entry again. This type will not contain the event inside of a room, meaning Luigi can activate it from any room as long as he's within the EventArea. However, this type will prevent Luigi from activating the event if he's on a different floor number, meaning for example, Luigi could not activate this event from floor 2 if the event is on floor 1. | |
6 | Sphere that uses pos_y | Similar to 3, but the EventArea shape will check pos_y and become a sphere instead of a cylinder that extends to the size of the containing room. |