Weaponswitch: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:


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.
Example:
setuserdef[THISACTOR].weaponswitch -1


[[Category:Bitfields]]
[[Category:Bitfields]]

Revision as of 06:41, 22 February 2010

bitfield

1 = switch to weapon on pickup

2 = switch away when out of ammo

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

Example:

setuserdef[THISACTOR].weaponswitch -1