Last weapon: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Hendricks266 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
This is set to the currently selected weapon when the player attempts to switch to a new weapon. If the weapon change was successful, this is reset to -1. 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 [[curr_weapon]] and [[wantweaponfire]]. | This is set to the currently selected weapon when the player attempts to switch to a new weapon. If the weapon change was successful, this is reset to -1. 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 [[curr_weapon]] and [[wantweaponfire]]. | ||
See [[WEAPON]] for list of weapon IDs. | See [[WEAPON]] for the list of weapon IDs. | ||
[[Category:Player structure members]] | [[Category:Player structure members]] |
Revision as of 17:05, 8 July 2012
This is set to the currently selected weapon when the player attempts to switch to a new weapon. If the weapon change was successful, this is reset to -1. 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 curr_weapon and wantweaponfire.
See WEAPON for the list of weapon IDs.