SetWeaponFlags2
From GECK
A function added by the New Vegas Script Extender.
Description
Sets the second set of flags for a passed weapon or calling reference to the specified mask of the combined value of the bits (int). Bitmasks should be built using SetBit / ClearBit.
Syntax
(none) reference.SetWeaponFlags2 FlagsMask:int Weapon:form
Example
int FlagsMask SetWeaponFlags2 FlagsMask, WeapNV9mmPistol
Weapon Flags 2 Bit Fields
Flag | Bit | Equipment Mask |
---|---|---|
1 | 0 | player only |
2 | 1 | NPCs use ammo |
4 | 2 | no jam after reload |
8 | 3 | override action points |
16 | 4 | minor crime |
32 | 5 | range fixed |
64 | 6 | not used in normal combat |
128 | 7 | override damage to weapon mult |
256 | 8 | don't use third-person IS animations |
512 | 9 | short burst |
1024 | 10 | rumble alternate |
2048 | 11 | long burst |
4096 | 12 | scope has night vision |
8192 | 13 | scope from mod |