Go to the source code of this file.
|
| SCR_CommandingManagerComponentClass SCR_BaseGameModeComponentClass | Attribute ("{000CD338713F2B5A}Prefabs/AI/Groups/Group_Base.et") |
| |
| ResourceName | GetGroupPrefab () |
| |
| void | SCR_CommandingManagerComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
| |
| override void | OnPostInit (IEntity owner) |
| | Called on PostInit when all components are added. More...
|
| |
| void | InitiateCommandMaps () |
| |
| void | ResetSlaveGroupWaypoints (int playerId, IEntity player) |
| |
| void | RequestCommandExecution (int commandIndex, RplId cursorTargetID, RplId groupRplID, vector targetPosition, int playerID) |
| |
| void | RPC_DoExecuteCommand (int commandIndex, RplId cursorTargetID, RplId groupRplID, vector targetPosition, int playerID) |
| |
| void | PlayCommanderSound (int playerID, int commandIndex) |
| |
| SCR_BaseRadialCommand | FindCommand (string commandName) |
| |
| int | FindCommandIndex (string commandName) |
| |
| string | GetCommandSoundEventName (int commandIndex) |
| |
| string | FindCommandNameFromIndex (int commandIndex) |
| |
| bool | CanShowCommand (string commandName) |
| |
| bool | CanShowOnMap (string commandName) |
| |
| SCR_PlayerCommandsConfig | GetCommandsConfig () |
| |
| int | GetMaxAIPerGroup () |
| |
| void | SetMaxAIPerGroup (int max) |
| |
◆ Attribute()
◆ CanShowCommand()
| bool CanShowCommand |
( |
string |
commandName | ) |
|
◆ CanShowOnMap()
| bool CanShowOnMap |
( |
string |
commandName | ) |
|
◆ FindCommand()
◆ FindCommandIndex()
| int FindCommandIndex |
( |
string |
commandName | ) |
|
◆ FindCommandNameFromIndex()
| string FindCommandNameFromIndex |
( |
int |
commandIndex | ) |
|
◆ GetCommandsConfig()
◆ GetCommandSoundEventName()
| string GetCommandSoundEventName |
( |
int |
commandIndex | ) |
|
◆ GetGroupPrefab()
| ResourceName GetGroupPrefab |
( |
| ) |
|
◆ GetMaxAIPerGroup()
◆ InitiateCommandMaps()
| void InitiateCommandMaps |
( |
| ) |
|
◆ PlayCommanderSound()
| void PlayCommanderSound |
( |
int |
playerID, |
|
|
int |
commandIndex |
|
) |
| |
◆ RequestCommandExecution()
| void RequestCommandExecution |
( |
int |
commandIndex, |
|
|
RplId |
cursorTargetID, |
|
|
RplId |
groupRplID, |
|
|
vector |
targetPosition, |
|
|
int |
playerID |
|
) |
| |
Called on server
- Parameters
-
| [in] | commandIndex | |
| [in] | cursorTargetID | |
| [in] | groupRplID | |
| [in] | targetPosition | |
| [in] | playerID | |
Definition at line 163 of file SCR_CommandingManagerComponent.c.
◆ ResetSlaveGroupWaypoints()
| void ResetSlaveGroupWaypoints |
( |
int |
playerId, |
|
|
IEntity |
player |
|
) |
| |
Gets called when player respawns so the newly recruited AIs dont follow the old waypoints from orders
- Parameters
-
Definition at line 86 of file SCR_CommandingManagerComponent.c.
◆ RPC_DoExecuteCommand()
| void RPC_DoExecuteCommand |
( |
int |
commandIndex, |
|
|
RplId |
cursorTargetID, |
|
|
RplId |
groupRplID, |
|
|
vector |
targetPosition, |
|
|
int |
playerID |
|
) |
| |
◆ SCR_CommandingManagerComponent()
| void SCR_CommandingManagerComponent |
( |
IEntityComponentSource |
src, |
|
|
IEntity |
ent, |
|
|
IEntity |
parent |
|
) |
| |
◆ SetMaxAIPerGroup()
| void SetMaxAIPerGroup |
( |
int |
max | ) |
|
◆ m_aCommands
◆ m_CommandsConfig
◆ m_iMaxAIPerGroup
| protected int m_iMaxAIPerGroup |
◆ m_mNameCommand
◆ m_sCommandsConfigPath
| Configs Commanding Commands conf protected ResourceName m_sCommandsConfigPath |