public void sfxSetChannelVolume(coSimSet channel, float volume) { coSFXSource obj = sfxOldChannelToGroup(channel); if (obj.isObject()) { obj.setVolume(volume); } }
public string sfxGetChannelVolume(coSimSet channel) { coSFXSource obj = sfxOldChannelToGroup(channel); return(obj.isObject() ? obj.getVolume().AsString() : "0"); }