SetWeaponFlags2
Revision as of 11:36, 16 July 2014 by imported>Odessa (adapted from nvsewhatsnew)
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Sets the second set of flags for the specified weapon or calling reference to the specified bitmask (int).
Syntax
(int) reference.SetWeaponFlags2 FlagsBitMask:int Weapon:form
Example
int FlagsBitMask SetWeaponFlags2 FlagsBitMask, WeapNV9mmPistol
Flags2
- 1 = player only
- 2 = NPCs use ammo
- 4 = no jam after reload
- 8 = override action points
- 16 = minor crime
- 32 = range fixed
- 64 = not used in normal combat
- 128 = override damage to weapon mult
- 256 = don't use third-person IS animations
- 512 = short burst
- 1024 = rumble alternate
- 2048 = long burst