IsPlayerRadioOn - Game

From the Fallout4 CreationKit Wiki
Revision as of 13:07, 31 March 2024 by Ptmc (talk | contribs) (wrong return value in the Syntax, should be a bool)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Game Script

Returns whether the player's radio is currently on or not.

Syntax[edit | edit source]

bool Function IsPlayerRadioOn() native global

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

True if the player's radio is currently turned on.

Examples[edit | edit source]

if (Game.IsPlayerRadioOn())
  Debug.Trace("Player's radio is currently on... hopefully he's not trying to be sneaky!")
endIf

See Also[edit | edit source]