GetAllSlotMods

From GECK
Jump to: navigation, search


A function added by the pp NVSE Plugin.

Description

Will return a stringmap of all possible mods that can be assigned to a specific slot. If the slot argument is omitted, then this will return all linked attachments to a form. Unlike GetWeaponRefModFlags, this can return mods from both the extended system and vanilla system.

Syntax

[help]
GetAllModsInSlot object:ref slot:string

Example

aItemMods = GetAllModsInSlot WeapNV9mmPistol

This will return all mods that can be attached to the 9mm pistol.

See Also