GetWeaponFlags1
Revision as of 12:31, 16 July 2014 by imported>Odessa (adapted from nvse_whatsnew)
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the first set of flags for the specified weapon or calling reference, as a bitmask (int).
Syntax
(int) reference.GetWeaponFlags1 Weapon:form
Example
int FlagsBitMask set FlagsBitMask to GetWeaponFlags WeapNV9mmPistol
Flags
- 1 = ignores normal weapon resist
- 2 = is automatic
- 4 = has scope
- 8 = can't drop
- 16 = hide backpack
- 32 = embedded weapon
- 64 = don't use first-person IS animations
- 128 = nonplayable