Skip to content

SoundEmitterDevice class ​

No description available

Functions ​

mnscript
string SoundEmitterDevice.GetName() 
  • Gets the name of the device
mnscript
string SoundEmitterDevice.GetSoundName() 
  • Gets the sound name
mnscript
bool SoundEmitterDevice.IsPlaying() 
  • Gets whether the sound emitter is playing a sound
mnscript
bool SoundEmitterDevice.IsValid() 
  • Returns whether the device is valid
mnscript
SoundEmitterDevice.PlaySound() 
  • Plays the sound emitter
mnscript
SoundEmitterDevice.SetSoundName(string) 
  • Sets the sound name (See toolgun sound list)
mnscript
SoundEmitterDevice.StopSound() 
  • Stops the sound emitter