SetWeaponModel

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Sets the file path of one of the optional models of the specified Weapon form.

The second argument modBitmask determines which model is to be set:

0	Default model (no mods)
1	Mod 1 attached
2	Mod 2 attached
3	Mods 1+2 attached
4	Mod 3 attached
5	Mods 1+3 attached
6	Mods 2+3 attached
7	Mods 1+2+3 attached

Syntax

[help]
SetWeaponModel weapon:form modBitmask:int{0-7} modelPath:string

Example

SetWeaponModel WeapGatlingLaser 3 "weapons\2handhandle\lasergatlingFocusOpticsCFFrameGO.nif" 

See Also