mnscript
string SoundEmitterDevice.GetSoundName()
Description ​
Gets the sound name
Returns ​
string
- The sound name
Example ​
msc
using Device;
using Console;
SoundEmitterDevice emitter = Device.FindSoundEmitter("My Sound Emitter");
string soundName = emitter.GetSoundName();
Console.WriteLine("The sound emitter's sound is: "..soundName);