3 MusicManager m_MusicManager;
6 protected void OnBaseCapture(SCR_MilitaryBaseComponent base,
Faction faction)
8 PlayerController pc =
GetGame().GetPlayerController();
13 SCR_ChimeraCharacter player = SCR_ChimeraCharacter.Cast(pc.GetControlledEntity());
15 if (!player || player.GetFaction() != faction)
37 baseManager.GetOnBaseFactionChanged().Insert(OnBaseCapture);
40 override void OnDelete()
47 baseManager.GetOnBaseFactionChanged().Remove(OnBaseCapture);