EVENT ACTIVATECHEAT: Difference between revisions
Links. |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
This event is called every time a cheat code is entered (see [[Cheatkeys]], [[Definecheat]], [[Cheat_phase]]) | This event is called every time a cheat code is entered (see [[Cheatkeys]], [[Definecheat]], [[Cheat_phase]]). The gamevar [[RETURN]] is set to the cheat ID number. | ||
You can completely disable | You can modify RETURN to change the cheat that was entered, or you can completely disable the cheat by setting RETURN to -1. | ||
At this time, RETURN values of cheat #26 are ignored because it is used for debugging by the developers. | |||
==Return Values== | ==Return Values== |
Revision as of 14:09, 23 June 2014
This event is called every time a cheat code is entered (see Cheatkeys, Definecheat, Cheat_phase). The gamevar RETURN is set to the cheat ID number.
You can modify RETURN to change the cheat that was entered, or you can completely disable the cheat by setting RETURN to -1.
At this time, RETURN values of cheat #26 are ignored because it is used for debugging by the developers.
Return Values
0 - cornholio
1 - stuff
2 - scotty###
3 - coords
4 - view
5 - time
6 - unlock
7 - cashman
8 - items
9 - rate
10 - skill#
11 - beta
12 - hyper
13 - monsters
14 - <RESERVED>
15 - <RESERVED>
16 - todd
17 - showmap
18 - kroz
19 - allen
20 - clip
21 - weapons
22 - inventory
23 - keys
24 - debug
25 - <RESERVED>
26 - cgs