Difference between revisions of "SetWeaponFlags1"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(adapted from nvse_whatsnew)
 
imported>Odessa
m (typo)
Line 18: Line 18:
<pre>
<pre>
int FlagsBitMask
int FlagsBitMask
SetWeaponFlags FlagsBitMask, WeapNV9mmPistol
SetWeaponFlags1 FlagsBitMask, WeapNV9mmPistol
</pre>
</pre>
==Flags==
==Flags1==
*1 = ignores normal weapon resist
*1 = ignores normal weapon resist
*2 = is automatic
*2 = is automatic

Revision as of 11:37, 16 July 2014

< [[::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

[help]
(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