Last full weapon: Difference between revisions
Jump to navigation
Jump to search
Overkill666 (talk | contribs) No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
last_full_weapon is initialized to zero when a map is loaded. | '''last_full_weapon''' is initialized to zero when a map is loaded. | ||
This is set to the currently selected weapon when the player attempts to switch to a new weapon. This is used so that the game can determine which weapon to switch back to in the event that the player attempts to switch to a weapon that is out of ammo. | This is set to the currently selected weapon when the player attempts to switch to a new weapon. This is used so that the game can determine which weapon to switch back to in the event that the player attempts to switch to a weapon that is out of ammo. | ||
See [[WEAPON]] for the list of weapon IDs. | |||
[[Category:Player structure members]] | [[Category:Player structure members]] |
Revision as of 20:22, 20 July 2012
last_full_weapon is initialized to zero when a map is loaded.
This is set to the currently selected weapon when the player attempts to switch to a new weapon. This is used so that the game can determine which weapon to switch back to in the event that the player attempts to switch to a weapon that is out of ammo.
See WEAPON for the list of weapon IDs.