SetWeaponSound
Revision as of 18:28, 27 March 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets a weapon's sound, determined by <i>soundID</i>: <pre>0 Attack Sound 3D 1 Attack Sound Dist. 2 Attack Sound 2D 3 Atta...")
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets 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) SetWeaponSound weapon:ref soundID:int{0-13} newSound:ref
Example
SetWeaponSound WeapNVAssaultCarbine 2 WPN10mmSMGFire2D
Will set the Assault Carbine's 2D attack sound to WPN10mmSMGFire2D.