SetWeaponFlags1
Revision as of 11:34, 16 July 2014 by imported>Odessa (adapted from nvse_whatsnew)
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Sets the first set of flags for the specified weapon or calling reference to the specified bitmask (int).
Syntax
(int) reference.SetWeaponFlags1 FlagsBitMask:int Weapon:form
Example
int FlagsBitMask SetWeaponFlags FlagsBitMask, 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