Weaponswitch: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m This was actually wrong.
m But this works.
Line 4: Line 4:


2 = switch away when out of ammo
2 = switch away when out of ammo
Setting the variable to zero will disable automatic weapon switching.
Example:
setplayer[THISACTOR].weaponswitch 0


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

Revision as of 06:23, 22 February 2010

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