GetAllAttachedMods

From GECK
Jump to: navigation, search


A function added by the pp NVSE Plugin.

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

[help]
(itemMods:array_var) GetAllAttachedMods weapon:ref

Example

set aItemMods to GetAllAttachedMods WeapNVAssaultCarbine

Will return all currently attached item mods on WeapNVAssaultCarbine.

See Also