void StopSound (int tid, int channel);
Stops the sound currently playing on the specified channel for the actor with matching tid. This is similar to the A_StopSound action function except that the default channel is CHAN_BODY. If tid is 0, this stops the sound currently playing by the activator of the script.
- tid: The tid of the actor to stop its sound.
- channel: The channel on which the sound is to be stopped. Default is CHAN_BODY.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.|