TurnPlayerRadioOn - Game

Member of: Game Script

Turns the player's radio on and off. It is not recommended that you do this while the player is messing with the pipboy.

SyntaxEdit

Function TurnPlayerRadioOn(bool abRadioOn = true) native global

ParametersEdit

  • abRadioOn - Whether the radio should be on or off.
    • Default: True

Return ValueEdit

None.

ExamplesEdit

; Turns the player's radio on
Game.TurnPlayerRadioOn()


; Turns the player's radio off
Game.TurnPlayerRadioOn(false)

See AlsoEdit