IsPlayerInRadioRange - Game

Revision as of 15:33, 30 October 2013 by imported>Google1 (Created page with "Category:Scripting Category:Papyrus '''Member of:''' Game Script Returns whether the player is within the outer radius of a transmitter using the given frequency. =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

See AlsoEdit