8 override void Init(IEntity pOwnerEntity, GenericComponent pManagerComponent)
15 override void PerformAction(IEntity pOwnerEntity, IEntity pUserEntity)
18 PlayerController playerController =
GetGame().GetPlayerController();
19 if (!playerController)
24 if (!firingRangeNetworkEntity)
28 firingRangeNetworkEntity.CalculateTargetDistance(pOwnerEntity,
true);
31 override bool CanBeShownScript(IEntity user)
34 return m_FiringRangeManager && m_LineController.GetFiringLineOwnerId() == m_LineController.NO_TARGET_OWNER;
38 override bool CanBePerformedScript(IEntity user)
40 return m_LineController && !m_LineController.IsHighestDistanceSet();
44 override bool GetActionNameScript(out
string outName)
46 outName = (
"#AR-FiringRange_ActionDistanceUp-UC");
51 override bool HasLocalEffectOnlyScript()