SetEquippedWeaponModFlags

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Sets the mask (int) of the equipped weapon mods for the currently equipped weapon of the calling reference.

Syntax

[help]
(none) SetEquippedWeaponModFlags NewMask:int 

Example

int ModsMask
; ...

SetEquippedWeaponModFlags ModsBitMask

Weapon Mod Flags

  • 1 (bit 0) = Weapon Mod 1
  • 2 (bit 1) = Weapon Mod 2
  • 4 (bit 2) = Weapon Mod 3

See Also