Jump to content

Weaponswitch

From EDukeWiki
Revision as of 14:09, 9 June 2012 by Overkill666 (talk | contribs)

Weaponswitch exists for both player and userdef structure members. The player structure controls whenever the action will be made, while the userdef controls the options selected in the menu.

bitfield

1 = switch to weapon on pickup

2 = switch away when out of ammo

Setting the variable to zero will disable automatic weapon switching.

Example:

setplayer[THISACTOR].weaponswitch 0