Currentweapon: Difference between revisions

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