IsPlayerListening - Game
Revision as of 15:38, 30 October 2013 by imported>Google1 (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Game Script Returns whether the player actively listening to a transmitter that uses the given frequency. == Sy...")
Member of: Game Script
Returns whether the player actively listening to a transmitter that uses the given frequency.
SyntaxEdit
bool Function IsPlayerListening(float afFrequency) native global
ParametersEdit
- afFrequency - The frequency of the transmitter we're testing against.
Return ValueEdit
True if the Pipboy is on, set to a frequency that would receive a registered transmitter, and within the transmitter's outer radius.
ExamplesEdit
if (Game.IsPlayerListening(98.0))
Debug.Trace("Quick, the player's listening. Say something cool on frequency 98.0.")
endIf