Addweaponvar: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


Adds a weapon to the nearest player.  Command functions exactly like the [[addweapon]] command, but takes [[gamevar]]s rather than predefined numbers.  <var1> is the weapon's number, <var2> is the amount of ammo.
Adds a weapon to the nearest player.  Command functions exactly like the [[addweapon]] command, but takes [[gamevar]]s rather than predefined numbers.  <var1> is the weapon's number, <var2> is the amount of ammo.
[[Category:EDuke32 specific commands]]
[[Category:Player manipulation]]

Revision as of 07:36, 24 September 2005

addweaponvar <var1> <var2>

Adds a weapon to the nearest player. Command functions exactly like the addweapon command, but takes gamevars rather than predefined numbers. <var1> is the weapon's number, <var2> is the amount of ammo.