GetAttachedMod
From GECK
A function added by the pp NVSE Plugin.
Contents
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
(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.