IsPlayerRadioOn - Game

From the Fallout4 CreationKit Wiki
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]