GetWeaponFlags2

From the Fallout3 GECK Wiki
Revision as of 11:40, 16 July 2014 by imported>Odessa (adapted from nvsewhatsnew)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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).

Syntax

[help]
(int) reference.GetWeaponFlags2 Weapon:form

Example

int FlagsBitMask
set FlagsBitMask to GetWeaponFlags2 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

See Also