4 override bool CanBePerformedScript(IEntity user)
6 SCR_RestrictedDeployableSpawnPointComponent restrictedDeployableSpawnPointComp = SCR_RestrictedDeployableSpawnPointComponent.Cast(m_DeployableItemComp);
7 if (!restrictedDeployableSpawnPointComp)
11 bool canBePerformed = restrictedDeployableSpawnPointComp.CanDeployBePerformed(reason);
12 if (!reason.IsEmpty())
13 SetCannotPerformReason(reason);
15 return canBePerformed;