Background for Fallout 4
Member of the Game script
boolfunctionIsPlayerInRadioRange(floatafFrequency)NativeGlobal

Description

Wiki Description

Returns whether the player is within the outer radius of a transmitter using the given frequency.

Documentation Comment

Is the player within the outer radius of a transmitter using the given frequency?


Caveats


Parameters

floatafFrequency


Examples

if (Game.IsPlayerInRadioRange(98.0))
  Debug.Trace("The player can pick up a station at frequency 98.0.")
endIf

Auto-Generated Example

float myFloat__afFrequency

bool returnedValue = Game.IsPlayerInRadioRange(myFloat__afFrequency)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.