Added ability to change channel on env_microphone, added "SetPitchScale" input

This commit is contained in:
Blixibon 2020-04-29 13:25:22 -05:00
parent 6749724245
commit 61cbdd48e9

View File

@ -5066,11 +5066,25 @@
landmark(target_destination) : "Local Destination Landmark" : : "If specified, then sounds offset from the speaker by their initial offset from this landmark. Only applicable in Speaker mode."
PitchScale(float) : "Pitch Scale" : "1.0" : "Scales the pitch of transmitted sounds."
PitchScale(float) : "Pitch Scale" : "1.0" : "Scales the pitch of transmitted sounds. Only applicable in Speaker mode."
channel(choices) : "Channel" : 6 : "Sets the channel which sounds should transmit as. Only applicable in Speaker mode." =
[
0 : "CHAN_AUTO"
1 : "CHAN_WEAPON"
2 : "CHAN_VOICE"
3 : "CHAN_ITEM"
4 : "CHAN_BODY"
5 : "CHAN_STREAM"
6 : "CHAN_STATIC"
7 : "CHAN_VOICE2"
]
// Inputs
input SetSpeakerName(target_destination) : "Set the microphone to output through a different speaker entity."
input SetDSPPreset(integer) : "Sets our DSP preset."
input SetPitchScale(float) : "Sets the pitch scale."
input SetChannel(integer) : "Sets the channel."
// Outputs
output SoundLevel(float) : "Fired in Measuring mode whenever the sound level changes."