Mod:Creation Kit/OnPipboyRadioDetection - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Event that occurs when the Pipboy radio (player) enters/leaves the outer-radius of this radio transmitter.

Syntax
Event OnPipboyRadioDetection(bool abDetected)

Parameters

 * abDetected: True if the player has entered the outer radius, false if they have exited.

Examples
Event OnPipboyRadioDetection(bool abDetected) if (abDetected) Debug.Trace("The player can detect us.") else Debug.Trace("The player can no longer detect us.") endIf endEvent