SetRadioOn - ObjectReference

Revision as of 15:28, 2 December 2015 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Turns on or off this radio receiver.

Syntax

Function SetRadioOn(bool abOn = true) native

Parameters

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

Return Value

None

Examples

; Turns on the radio
myRadio.SetOn()


; Turns off the radio
myRadio.SetOn(false)

See Also