Sly 1:EXIT: Difference between revisions
Added EXITS enum
TheOnlyZac (talk | contribs) No edit summary |
TheOnlyZac (talk | contribs) (Added EXITS enum) |
||
Line 1:
{{SHORTDESC:A data structure in {{Sly 1}} that handles initiating transitions between levels.}}
{{Infobox data structure
| image= File:Sly 1 holographic marker.png
Line 4 ⟶ 5:
| sly1= y
}}
'''EXIT''' is a
== EXITS ==
Each exit has a state which is represented by the EXITS (exit state) enum. The EXITS enum has the following possible values:
{| class="wikitable"
|+ EXITS enum
|-
! Value !! Name !! Description
|-
| 0 || BLOCKED || The trigger is loaded but cannot be entered until something enables it.
|-
| 1 || DISABLED || The trigger is loaded but cannot be entered.
|-
| 2 || ENABLED || The trigger is loaded, active, and able to be entered.
|-
| 3 || ENTERING || Sly is doing the animation of walking into the trigger.
|-
| 4 || ENTERED || Sly entered the trigger and now the transition between levels is playing.
|}
You can freely change a Disabled exit to be Enabled and vice versa. However, changing a Blocked exit to Enabled won’t do anything. Blocked exits are special in a way we don’t yet understand.
{{To do|Figure out if it’s possible to unblock an exit without ACE.}}
{{Navbox Sly 1}}
|