News:

MFG's Character of the Month: October 2026 Voting

Main Menu

StopSnd (SCTRL)

Started by JustNoPoint, October 31, 2015, 02:11:03 PM

Previous topic - Next topic

JustNoPoint

Stops any sound which is playing on the specified channel.

Required parameters:
channel = chan_no (int)
Stops playback of any sound on chan_no. If chan_no is -1, then all sounds are stopped, including those belonging to other players.

Optional parameters:
none

Example:

;Fighter Factory 3
[State 0, StopSnd]
type = StopSnd
trigger1 =
channel = -1
;ignorehitpause =
;persistent =


Related Triggers: 
PlaySnd (sctrls)
SndPan (SCTRL)