SetNPCRadio

From the Fallout3 GECK Wiki
Jump to navigation Jump to search

Description[edit | edit source]

SetNPCRadio designates an NPC as a radio.

Syntax[edit | edit source]

[npcRef.]SetNPCRadio 0/1 stationRef

Examples[edit | edit source]

BobRef.SetNPCRadio 1 GalaxyNewsRadioRef 

Bob is now a radio that is playing Galaxy News Radio.

Notes[edit | edit source]

  • Definitions for the 0/1 parameter:
    • 0 = Radio is off - turns off the radio regardless of the called reference
    • 1 = Radio is on
  • If the NPC is listed as the speaker of a line of dialog, he will speak it. If he is not the speaker, it plays with a filter effect to indicate it's not him.
  • You cannot change an NPCs currently playing station with this function without first using it to turn their radio off, for example by calling:
BobRef.SetNPCRadio 0 GalaxyNewsRadioRef 
BobRef.SetNPCRadio 1 EnclaveRadioRef