Cheat phase: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
BlasterDRP (talk | contribs)
mNo edit summary
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
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.
cheat_phase
 
This [http://www.eduke32.com/wiki/index.php?title=Player_Member_Functions 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.
 
[[Category:Player structure members]]

Latest revision as of 16:30, 24 September 2005

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.