9 override void Init(IEntity pOwnerEntity, GenericComponent pManagerComponent)
16 override void PerformAction(IEntity pOwnerEntity, IEntity pUserEntity)
19 PlayerController playerController =
GetGame().GetPlayerController();
20 if (!playerController)
25 if (!firingRangeNetworkEntity)
29 firingRangeNetworkEntity.AddTarget(pOwnerEntity,
true);
33 override bool CanBeShownScript(IEntity user)
36 if (m_FiringRangeManager)
37 return m_LineController.GetFiringLineOwnerId() == m_LineController.NO_TARGET_OWNER;
43 override bool CanBePerformedScript(IEntity user)
49 override bool GetActionNameScript(out
string outName)
51 outName = (
"#AR-FiringRange_ActionAddTarget-UC");
56 override bool HasLocalEffectOnlyScript()