AttachMod

From GECK
Jump to: navigation, search


A function added by the pp NVSE Plugin.

Description

Will attach a mod in a specific slot. Unlike SetWeaponRefModFlags, this can set equipped mods through both the extended system and vanilla system.

Syntax

[help]
AttachMod object:ref slot:string itemMod:ref

Example

AttachMod WeapNV9mmPistol "Barrel Device" WeapMod9mmScope 

See Also