Currentweapon: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
mNo edit summary
No edit summary
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
currentweapon is a var that can be referenced anywhere and is constantly updated.
currentweapon is a constantly updated [[gamevar]] holding the value of the current weapon's gamevar [[WEAPONx_WORKSLIKE]]. It should only be used in display events. Otherwise, consider [[curr_weapon]].


The current weapon in use by the player.
[[Category:Constantly updated gamevars]]

Latest revision as of 09:55, 16 November 2012

currentweapon is a constantly updated gamevar holding the value of the current weapon's gamevar WEAPONx_WORKSLIKE. It should only be used in display events. Otherwise, consider curr_weapon.