IsPlayerListening - Game
Member of: Game Script
Returns whether the player actively listening to a transmitter that uses the given frequency.
bool Function IsPlayerListening(float afFrequency) native global
- afFrequency - The frequency of the transmitter we're testing against.
True if the Pipboy is on, set to a frequency that would receive a registered transmitter, and within the transmitter's outer radius.
if (Game.IsPlayerListening(98.0)) Debug.Trace("Quick, the player's listening. Say something cool on frequency 98.0.") endIf