Sly 1:EXIT: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) No edit summary |
TheOnlyZac (talk | contribs) (Added EXITS enum) |
||
Line 1: | Line 1: | ||
{{SHORTDESC:A data structure in {{Sly 1}} that handles initiating transitions between levels.}} |
|||
{{Infobox data structure |
{{Infobox data structure |
||
| image= File:Sly 1 holographic marker.png |
| image= File:Sly 1 holographic marker.png |
||
Line 4: | Line 5: | ||
| sly1= y |
| sly1= y |
||
}} |
}} |
||
'''EXIT''' is a |
'''EXIT''' is a struct used in {{Sly 1}} to initiate a [[Sly 1:Transition|level transition]]. |
||
== 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.}} |
|||
{{Stub}} |
|||
{{Navbox Sly 1}} |
{{Navbox Sly 1}} |