Background for Fallout 4
Member of the ObjectReference script
voidfunctionMakeRadioReceiver(floatafFrequency, floatafVolume=1.0, OutputModelaOverrideModel=NONE, boolabActive=true, boolabNoStatic=false)Native

Description

Wiki Description

Make this object a radio receiver. Override the current state if the object is already a receiver. If the object is a reference to an Activator, the radio on/off state will toggle when activated. Once the object is a receiver, the other radio receiver functions may be applied to it.

Documentation Comment

Make this object a radio receiver, tuned to the given frequency. Optionally specify a volume [0.0-1.0], an override OutputModel,
or override the default on/off state (on).


Parameters

  1. floatafFrequency

    CK Wiki Description

    The frequency to set the receiver to.

  2. floatafVolume=1.0

    CK Wiki Description

    The volume multiplier to use for this receiver. Valid range:[0.0-1.0]. This can only be used to quiet a receiver, and does not affect its audible range. If you'd like to change the audible range, use the aOverrideModel parameter.

    • Default:1.0
  3. OutputModelaOverrideModel=NONE

    CK Wiki Description

    The OutputModel to use for this receiver. This can be used to change the audible range, attenuation curve, etc. of the radio. If None is specified, the OutputModel specified in the Default Object 'WorldRadioOutputModel_DO' will be used.

    • Default:None
  4. boolabActive=true

    CK Wiki Description

    The on/off state of the receiver.

    • Default:true
  5. boolabNoStatic=false

    CK Wiki Description

    Set to true if the radio should not play static when its transmitter is out-of-range.

    • Default:false

Examples

Event OnLoad()
    ; Make us into a radio, tuned to 98.0, full volume, and use the special output model we've set up for Eyebots.
    self.MakeRadioReceiver( 98.0, 1.0, EyebotOutputModel )
EndEvent
OutputModel Property EyebotOutputModel Auto Const

Auto-Generated Example

float myFloat__afFrequency
float myFloat__afVolume
OutputModel myOutputModel__aOverrideModel
bool myBool__abActive
bool myBool__abNoStatic

myObjectReference__toCallFunctionOn.MakeRadioReceiver(myFloat__afFrequency, myFloat__afVolume, myOutputModel__aOverrideModel, myBool__abActive, myBool__abNoStatic)

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.