3 protected bool m_bPlayerIsInHQ =
false;
18 baseManager.GetOnLocalPlayerEnteredBase().Insert(PlayerEnteredHQ);
19 baseManager.GetOnLocalPlayerLeftBase().Insert(PlayerLeftHQ);
22 override void OnDelete()
34 baseManager.GetOnLocalPlayerEnteredBase().Remove(PlayerEnteredHQ);
35 baseManager.GetOnLocalPlayerLeftBase().Remove(PlayerLeftHQ);
61 if (!HQ || base != HQ)
64 m_bPlayerIsInHQ =
true;
90 if (!HQ || base != HQ)
93 m_bPlayerIsInHQ =
false;
96 override bool ShouldPlay()
98 return !m_bPlayerIsInHQ;