GetWeaponFlags2
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the second set of flags for the specified weapon or calling reference, as a bitmask (int).
See GetEquipmentSlotsMask for an example method of checking for a specific bit.
Syntax
(Bitmask:int) reference.GetWeaponFlags2 Weapon:form
Example
int FlagsBitMask set FlagsBitMask to GetWeaponFlags2 WeapNV9mmPistol
Weapon Flags 2 Bit Fields
- 0 (1) = player only
- 1 (2) = NPCs use ammo
- 2 (4) = no jam after reload
- 3 (8) = override action points
- 4 (16) = minor crime
- 5 (32) = range fixed
- 6 (64) = not used in normal combat
- 7 (128) = override damage to weapon mult
- 8 (256) = don't use third-person IS animations
- 9 (512) = short burst
- 10 (1024) = rumble alternate
- 11 (2048) = long burst