Weaponswitch: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
2 = switch away when out of ammo
2 = switch away when out of ammo


Setting the gamevar to any non-zero value to disable weapon switching.
Setting the variable to any non-zero value will disable automatic weapon switching.


Example:
Example:

Revision as of 05:44, 22 February 2010

bitfield

1 = switch to weapon on pickup

2 = switch away when out of ammo

Setting the variable to any non-zero value will disable automatic weapon switching.

Example:

setuserdef[THISACTOR].weaponswitch -1