GetEquippedWeaponModFlags

From GECK

A function added by the New Vegas Script Extender.

Description

Returns a bit mask (int) of the equipped weapon mods for the currently equipped weapon of the calling reference. Added by NVSE 1.1.

Syntax

(BitMask:int) GetEquippedWeaponModFlags

Example

int ModsBitMask
set ModsBitMask to PlayerREF.GetEquippedWeaponModFlags

Weapon Mod Flags

  • 1: Weapon Mod 1
  • 2: Weapon Mod 2
  • 4: Weapon Mod 3

See Also

Personal tools