YesNoOk
avatar

StopSnd (SCTRL) (Read 4964 times)

Started by JustNoPoint, October 31, 2015, 02:11:03 pm
Share this topic:
StopSnd (SCTRL)
New #1  October 31, 2015, 02:11:03 pm
  • ******
    • www.justnopoint.com/
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:
Code:
;Fighter Factory 3
[State 0, StopSnd]
type = StopSnd
trigger1 =
channel = -1
;ignorehitpause =
;persistent =

Related Triggers: 
PlaySnd (sctrls)
SndPan (SCTRL)
Last Edit: November 25, 2015, 05:28:52 am by Odb718