Ammo amount: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
'''''ammo_amount #''''' is an array holding the amount of ammo the player currently has for each weapon. ''#'' Indicates the weapon which the game is getting or setting the ammo for.
'''''ammo_amount #''''' is an array holding the amount of ammo the player currently has for each weapon. ''#'' Indicates the weapon which the game is getting or setting the ammo for.
define KNEE_WEAPON        0
define PISTOL_WEAPON      1
define SHOTGUN_WEAPON      2
define CHAINGUN_WEAPON    3
define RPG_WEAPON          4
define HANDBOMB_WEAPON    5
define SHRINKER_WEAPON    6
define DEVISTATOR_WEAPON  7
define TRIPBOMB_WEAPON    8
define FREEZE_WEAPON      9
define HANDREMOTE_WEAPON  10
define GROW_WEAPON        11


[[Category:Player structure members]]
[[Category:Player structure members]]

Latest revision as of 00:42, 10 January 2012

ammo_amount # is an array holding the amount of ammo the player currently has for each weapon. # Indicates the weapon which the game is getting or setting the ammo for.

define KNEE_WEAPON         0
define PISTOL_WEAPON       1
define SHOTGUN_WEAPON      2
define CHAINGUN_WEAPON     3
define RPG_WEAPON          4
define HANDBOMB_WEAPON     5
define SHRINKER_WEAPON     6
define DEVISTATOR_WEAPON   7
define TRIPBOMB_WEAPON     8
define FREEZE_WEAPON       9
define HANDREMOTE_WEAPON   10
define GROW_WEAPON         11