From ZDoom Wiki
Jump to navigation Jump to search

void SoundVolume (int tid, int channel, fixed volume)


Changes the volume of the currently playing sound by the actor(s) with the specified TID. If tid is 0, the sound volume change is done to the sound being played by the activator of the script.


  • tid: The tid of the actor to change its sound volume.
  • channel: The channel of the playing sound.
  • volume: The new sound volume value to set. This ranges from 0.0 (mute) to 1.0 (full volume).


Nuvolachalk.png 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 add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.