IsPlayerRadioOn - Game

From the Fallout4 CreationKit Wiki
Revision as of 11:35, 29 January 2013 by imported>Plplecuyer (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Game Script Returns whether the player's radio is currently on or not. == Syntax == <source lang="papyrus"> flo...")
(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

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