Weaponswitch: Difference between revisions
Jump to navigation
Jump to search
Rasmusthorup (talk | contribs) No edit summary |
Overkill666 (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
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]] | [[bitfield]] | ||
Revision as of 14:09, 9 June 2012
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.
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