SetRadioVolume - ObjectReference

Member of: ObjectReference Script

Sets the volume of this radio receiver.

SyntaxEdit

Function SetRadioVolume(float afVolume) native

ParametersEdit

  • afVolume: The volume to set the radio to. Clamped in a range from 0.0 to 1.0.

Return ValueEdit

None.

ExamplesEdit

; Set the radio to half volume
myRadio.SetRadioVolume(0.5)

See AlsoEdit