5 class SCR_AntennaServicePointComponent : SCR_ServicePointComponent
12 super.OnFactionChanged(faction);
34 m_RadioControl.SetEncryptionKey(faction.GetFactionRadioEncryptionKey());
36 int factionFrequency = faction.GetFactionRadioFrequency();
39 if (factionFrequency < tsv.GetMinFrequency() || factionFrequency > tsv.GetMaxFrequency())
42 tsv.SetFrequency(factionFrequency);
48 super.OnPostInit(owner);
50 m_RadioControl = BaseRadioComponent.Cast(owner.FindComponent(BaseRadioComponent));
54 Print(
"SCR_AntennaServicePointComponent: Owner is missing BaseRadioComponent!", LogLevel.ERROR);