Jump to content

Cheat phase

From EDukeWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

cheat_phase

This Player Member Function determines if the player is entering a cheat or not. Its value is at 0 by default. When the player presses the first cheat key, it is set to -1; when the player presses the rest of the cheat code, it is set to 1; when the code is completed, typed incorrectly, or not completed in the time alotted, it is reset to 0. Setting this to 0 disables cheats.