IsPlayerRadioOn - Game

From Creation Kit
Jump to: navigation, search

Member of: Game Script

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

Syntax

float Function IsPlayerRadioOn() native global

Parameters

None.

Return Value

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

Examples

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

See Also