Sly 1:EXIT

From SlyMods
Jump to navigation Jump to search
Data Structure
GameSly Cooper and the Thievius Raccoonus

EXIT is a struct used in Sly Cooper and the Thievius Raccoonus to initiate a level transition.

EXITS[edit | edit source]

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.