GetWeaponSound
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns a weapon's sound, determined by soundID:
0 Attack Sound 3D 1 Attack Sound Dist. 2 Attack Sound 2D 3 Attack Loop 4 Attack Fail 5 Melee Block 6 Idle Sound 7 Equip Sound 8 Unequip Sound 9 Attack Sound 3D (Mod) 10 Attack Sound Dist. (Mod) 11 Attack Sound 2D (Mod) 12 Pickup Sound 13 Putdown Sound
Syntax
(sound:ref) GetWeaponSound weapon:ref soundID:int{0-13}
Example
GetWeaponSound WeapNVAssaultCarbine 2
Will return the Assault Carbine's 2D attack sound.