IsPlayerInRadioRange - Game
Member of: Game Script
Returns whether the player is within the outer radius of a transmitter using the given frequency.
SyntaxEdit
bool Function IsPlayerInRadioRange(float afFrequency) native global
ParametersEdit
- afFrequency - The frequency of the transmitter we're testing against.
Return ValueEdit
True if a transmitter exists using the given frequency and the player is within its outer radius.
ExamplesEdit
if (Game.IsPlayerInRadioRange(98.0))
Debug.Trace("The player can pick up a station at frequency 98.0.")
endIf