4 [
Attribute(
"Assign Rally Point",
desc:
"Text displayed for set rally point command.")]
7 [
Attribute(
"Unassign Rally Point",
desc:
"Text displayed for remove really point command.")]
10 [
Attribute(
"No Base Selected",
desc:
"Text display for disabled command due to no base selected.")]
162 commandName = entry.GetId();
193 if (!commandingEntry)
196 commandName = commandingEntry.GetEntryIdentifier();
201 foundEntry = element;
248 if (!groupRallyPoint)
276 return super.CanBePerformed(user);
285 SCR_PlayerControllerGroupComponent groupController = SCR_PlayerControllerGroupComponent.GetLocalPlayerControllerGroupComponent();
286 if (!groupController)
293 SCR_AIGroup group = groupsManager.GetPlayerGroup(playerID);
300 groupController.RemoveRallyPoint();
ArmaReforgerScripted GetGame()
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
SCR_BaseGameMode GetGameMode()
void SCR_CommandingManagerComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
void SCR_FactionManager(IEntitySource src, IEntity parent)
void SCR_GameModeCampaign(IEntitySource src, IEntity parent)
void SCR_GroupsManagerComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
EMapEntityMode
Mode of the map.
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
bool IsPlayerLeader(int playerID)
void SetRallyPoint(notnull SCR_MilitaryBaseComponent base, bool force=false)
Created in SCR_GameModeCampaign.
SCR_CampaignMilitaryBaseComponent FindBaseByCallsign(int callsign)
BaseHoveredInvoker GetOnBaseHovered()
static ScriptInvokerBase< MapConfigurationInvoker > GetOnMapClose()
Get on map close invoker.
SCR_MapUIBaseComponent GetMapUIComponent(typename componentType)
static ScriptInvokerBase< MapConfigurationInvoker > GetOnMapOpen()
Get on map open invoker.
static SCR_MapEntity GetMapInstance()
Get map entity instance.
ScriptInvokerVoid GetOnMenuInitInvoker()
static SCR_MapRadialUI GetInstance()
SCR_RadialMenuController GetRadialController()
void OnMapRadialMenuOpen()
override bool CanBeShown()
bool SetRadialMenuEntryEnabled()
void OnBaseHovered(SCR_CampaignMilitaryBaseComponent base)
string m_sUnassignRallyPointCommandString
override bool CanBePerformed(notnull SCR_ChimeraCharacter user)
string m_sNoBaseSelectedString
SCR_SelectionMenuEntry FindCommandEntry(SCR_RadialMenu mapRadialMenu)
override bool Execute(IEntity cursorTarget, IEntity target, vector targetPosition, int playerID, bool isClient)
string m_sAssignRallyPointCommandString
void ~SCR_SetRallyPointCommand()
destructor
void OnRadialMenuEntryAdded(SCR_SelectionMenu menu, SCR_SelectionMenuEntry entry)
SCR_SelectionMenuEntry FindCommandEntryInCategory(SCR_SelectionMenuCategoryEntry category)
MapConfiguration m_MapConfig
void OnMapClose(MapConfiguration config)
void SCR_SetRallyPointCommand()
constructor
override bool CanShowOnMap()
void OnMapOpen(MapConfiguration config)
override bool CanRoleShow()
SCR_PlayerControllerGroupComponent m_PlayerControllerGroupComponent
SCR_CampaignMilitaryBaseComponent m_HoveredBase
ref SCR_SelectionMenuEntry m_RadialMenuEntry
SCR_CampaignMilitaryBaseComponent m_CurrentHoveredBase
SCR_FieldOfViewSettings Attribute