GetAllAttachedMods
From GECK
A function added by the pp NVSE Plugin.
Contents
Description
Will return a StringMap of all the attached weapon mods on a weapon reference or instance. Unlike GetWeaponRefModFlags, this can return item mods from both the vanilla system and the extended mod system.
Syntax
(itemMods:array_var) GetAllAttachedMods weapon:ref
Example
set aItemMods to GetAllAttachedMods WeapNVAssaultCarbine
Will return all currently attached item mods on WeapNVAssaultCarbine.