TurnPlayerRadioOn - Game

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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.

Syntax[edit | edit source]

Function TurnPlayerRadioOn(bool abRadioOn = true) native global

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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


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

See Also[edit | edit source]