SetNPCRadio
From GECK
(Redirected from Snr)
A function included in the GECK for Fallout 3.
Contents
Description
SetNPCRadio designates an NPC as a radio.
Syntax
[actor:reference].SetNPCRadio radioStation:ref
Example
BobRef.SetNPCRadio 1 GalaxyNewsRadioRef
Bob is now a radio that is playing Galaxy News Radio.
Notes
- 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