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

[DEV SERVER] Loading description...


Caveats


Parameters

floatafFrequency

CK Wiki Description

The frequency to set the receiver to.

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

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

boolabActive=true

CK Wiki Description

The on/off state of the receiver.

  • Default:true

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.