SetWeaponSkill

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Sets the the skill type, which is specified by its Actor Value code number, for the specified weapon or calling reference. Added by NVSE V1.2.

Syntax

[help]
(none) reference.SetWeaponSkill SkillAVCode:int Weapon:form

Example

SetWeaponSkill 41, WeapNV9mmPistol ; * 41 corresponds to 'Guns' (FNV) or 'Small Guns' (FO3)

See Also