Weaponswitch: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m But this works.
No edit summary
Line 12: Line 12:


[[Category:Bitfields]]
[[Category:Bitfields]]
[[Category:Userdef structure members]]

Revision as of 17:34, 2 March 2011

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