StopSoundAlt

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Stops an instance of a Sound that is currently playing from a specified source, e.g. played using PlaySound3D or PlaySoundFade. Allows to gradually fade the sound out, if optional argument is provided.

Syntax

[help]
(success:0/1) StopSoundAlt soundForm:ref source:ref fadeTime:float

Example

StopSoundAlt NPCHumanDrinkingWaterToilet Player 

Notes

  • Optional argument was introduced in JohnnyGuitar NVSE version 5.07.

See Also