GetWeaponRefModFlags

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns a bit-mask representing the calling weapon's currently installed weapon-mods. Unlike GetEquippedWeaponModFlags, this function is called on an inventory reference. The calling weapon reference does not have to be equipped.

Syntax

[help]
(modFlags:int) reference.GetWeaponRefModFlags

Example

set iModFlags to rItemRef.GetWeaponRefModFlags

Weapon Mod Flags

1	Weapon Mod #1
2	Weapon Mod #2
4	Weapon Mod #3

See Also