Sly 1:EXIT: Difference between revisions

From SlyMods
Jump to navigation Jump to search
Content added Content deleted
(Added EXITS enum)
(Wording and layout)
Line 1:
{{SHORTDESC:A data structure in {{Sly 1}} thatrepresenting handlesa initiatingwarp transitionsfrom betweenone levelslevel to another.}}
{{Infobox data structure
| image= File:Sly 1 holographic marker.png
| caption= Many EXITs are accompanied by green holographic markers, but they are separate data structures
| sly1= y
}}
 
'''EXIT''' is a struct used in {{Sly 1}} that represents a warp from one level to initiateanother. Triggering an exit initiates a [[Sly 1:Transition|level transition]].
 
== EXITS ==
 
Each exitEXIT has a state which is represented by the EXITS (exit state) enum. The EXITS enum has the following possible values:
 
{| class="wikitable"
Line 26 ⟶ 27:
|}
 
You can freely change a DisabledDISABLED exit to be EnabledENABLED and vice versa. However, changing a BlockedBLOCKED exit to EnabledENABLED won’t do anything. Blocked exits are special in a way we don’t yet understand.
 
{{To doInvestigate|Figure out if it’s possible to unblock an exit withoutwith memory ACEediting.}}
 
{{Navbox Sly 1}}

Revision as of 15:26, 23 September 2023

EXIT
Data Structure
Many EXITs are accompanied by holographic markers, but they are separate data structures
GameSly Cooper and the Thievius Raccoonus

EXIT is a struct in Sly Cooper and the Thievius Raccoonus that represents a warp from one level to another. Triggering an exit initiates a 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:

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.