WEAPON: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Hendricks266 (talk | contribs) detonator is 10, not 0; added DEFS.CON code; grammar |
||
Line 1: | Line 1: | ||
Returns the value of the currently selected weapon. The value is briefly not set when the player | Returns the value of the currently selected weapon. The value is briefly not set when the player enters the game. | ||
0 | define KNEE_WEAPON 0 // Mighty Foot | ||
1 | define PISTOL_WEAPON 1 | ||
2 | define SHOTGUN_WEAPON 2 | ||
3 | define CHAINGUN_WEAPON 3 | ||
4 | define RPG_WEAPON 4 | ||
5 | define HANDBOMB_WEAPON 5 // Pipebombs | ||
6 | define SHRINKER_WEAPON 6 | ||
7 | define DEVISTATOR_WEAPON 7 // Devastator | ||
8 | define TRIPBOMB_WEAPON 8 | ||
9 | define FREEZE_WEAPON 9 // Freezethrower | ||
define HANDREMOTE_WEAPON 10 // Pipebomb Detonator | |||
11 | define GROW_WEAPON 11 // Microwave Expander | ||
[[Category:Pre-defined gamevars]] | [[Category:Pre-defined gamevars]] |
Revision as of 08:41, 21 February 2009
Returns the value of the currently selected weapon. The value is briefly not set when the player enters the game.
define KNEE_WEAPON 0 // Mighty Foot define PISTOL_WEAPON 1 define SHOTGUN_WEAPON 2 define CHAINGUN_WEAPON 3 define RPG_WEAPON 4 define HANDBOMB_WEAPON 5 // Pipebombs define SHRINKER_WEAPON 6 define DEVISTATOR_WEAPON 7 // Devastator define TRIPBOMB_WEAPON 8 define FREEZE_WEAPON 9 // Freezethrower define HANDREMOTE_WEAPON 10 // Pipebomb Detonator define GROW_WEAPON 11 // Microwave Expander