SetRadioOn - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 17:30, 10 May 2023 by 86.83.129.48 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Turns on or off this radio receiver.

Syntax[edit | edit source]

Function SetRadioOn(bool abOn = true) native

Parameters[edit | edit source]

  • abOn: Whether to turn on or off this radio.
    • Default: True

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Turns on the radio
myRadio.SetRadioOn()


; Turns off the radio
myRadio.SetRadioOn(false)

See Also[edit | edit source]