SetWeaponFlags1

Revision as of 12:37, 16 July 2014 by imported>Odessa (typo)
< [[::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
SetWeaponFlags1 FlagsBitMask, WeapNV9mmPistol

Flags1

  • 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

See Also