SetRadioVolume - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Sets the volume of this radio receiver.

Syntax[edit | edit source]

Function SetRadioVolume(float afVolume) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

See Also[edit | edit source]