WEAPONx FLAGS
WEAPONx_FLAGS is a gamevar that has the power to change several different things about weapons (not projectiles).
The flag values for WEAPONx_FLAGS are:
- 1 - Holstering clears clip
- 2 - Glows
- 4 - Automatic
- 8 - Fire every other frame
- 16 - Fire every third frame
- 32 - Random restart on automatic
- 64 - Use ammo per burst (like the Devastator)
- 128 - Is a bomb trigger (Pipebomb Detonator)
- 256 - Using does NOT cause player to become 'visible'
- 512 - Use 'throws' the 'shoots' item
- 1024 - Check weapon availability at 'reload' time
- 2048 - player should stop jumping
- 0 - Spawn Type 1 (Pistol shells)
- 4096 - Spawn Type 2 (Shotgun shells)
- 8192 - Spawn Type 3 (Chaingun shells)
WEAPONx_FLAGS is a bitfield, so you can add the individual flags together in the manner of cstat and orientation.