Currentweapon: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
currentweapon is a constantly updated [[gamevar]] holding the value of the current weapon in use by the player.
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]].


[[Category:Constantly updated gamevars]]
[[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.