Sly 1:EXIT

A data structure in Sly Cooper and the Thievius Raccoonus that handles initiating transitions between levels.
Revision as of 18:21, 11 September 2022 by TheOnlyZac (talk | contribs) (Added EXITS enum)
EXIT
Data Structure
Many EXITs are accompanied by green holographic markers
GameSly Cooper and the Thievius Raccoonus

EXIT is a struct used in Sly Cooper and the Thievius Raccoonus to initiate 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. Blocked exits are special in a way we don’t yet understand.