Difference between revisions of "SetWeaponSound"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
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...")
 
imported>Jazzisparis
Line 36: Line 36:
*[[GetWeaponSound]]
*[[GetWeaponSound]]
[[Category:Functions_(JIP)]]
[[Category:Functions_(JIP)]]
[[Category:Weapon Functions (JIP)]]

Revision as of 15:38, 30 March 2015

< [[::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

[help]
(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.

See Also