Currentweapon: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(4 intermediate revisions by 3 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]]

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.