GetAttachedMod

From GECK
Jump to: navigation, search


A function added by the pp NVSE Plugin.

Description

Will return an item mod relative to a specific slot. Unlike GetWeaponRefModFlags, this can return item mods from both the vanilla system and the extended mod system.

Syntax

[help]
(itemMods:ref) GetAllAttachedWeaponMods weapon:ref

Example

set rItemMod to GetAttachedMod WeapNV9mmPistol "Barrel Device"

Will return the item mod in the Barrel Device slot on the WeapNV9mmPistol.

See Also