SetWeapon1stPersonModel
From GECK
A function added by the JohnnyGuitar NVSE Plugin.
Contents
Description
Sets the value of a "1st Person Model" trait of a Weapon (determined by traitID). If new model is omitted, existing model will be cleared.
Syntax
SetWeapon1stPersonModel Weapon:ref traitID:int{0-7} newModel:ref
Trait IDs
0 1st Person Model (WNAM) 1 1st Person Model - Mod 1 (WNM1) 2 1st Person Model - Mod 2 (WNM2) 3 1st Person Model - Mod 1 and 2 (WNM3) 4 1st Person Model - Mod 3 (WNM4) 5 1st Person Model - Mod 1 and 3(WNM5) 6 1st Person Model - Mod 2 and 3 (WNM6) 7 1st Person Model - Mod 1, 2 and 3 (WNM7)
Example
ref rWeaponModel SetWeapon1stPersonModel WeapHuntingRifle 1 rWeaponModel // set 1st person model with mod 1 attached to rWeaponModel