Variable; Commands - HWRM/KarosGraveyard GitHub Wiki
Description
A list of 'commands', or the type of actions a SobGroup may be performing. Functions SobGroup_GetCommandTargets
and SobGroup_GetCurrentOrder
both deal with commands.
May be related to SobGroup_CustomCommand
or SobGroup_CustomCommandTargets
.
Examples
-- Fill "output-group" with the targets of the attack command of "source-group"
SobGroup_GetCommandTargets("output-group", "source-group", COMMAND_Attack);
Variables
Variable | Value | Notes |
---|---|---|
COMMAND_Idle |
0 |
|
COMMAND_Move |
1 |
|
COMMAND_Attack |
2 |
One of the few commands trackable with SobGroup_GetCommandTargets |
COMMAND_Build |
3 |
|
COMMAND_Dock |
4 |
|
COMMAND_Resource |
5 |
|
COMMAND_Launch |
6 |
|
COMMAND_WaypointMove |
7 |
|
COMMAND_Parade |
8 |
|
COMMAND_Guard |
9 |
Same as AB_Attack 's note |
COMMAND_Capture |
10 |
|
COMMAND_Hyperspace |
11 |
|
COMMAND_MoveToSob |
12 |
Presumably different from COMMAND_Move by being a move command with a target. |
COMMAND_FormHyperspaceGate |
13 |
|
COMMAND_HyperspaceViaGate |
14 |
|
COMMAND_Repair |
15 |
|
COMMAND_Retire |
16 |
|
COMMAND_Despawn |
17 |
|
COMMAND_LayMines |
18 |
|
COMMAND_Salvage |
19 |
|
COMMAND_AttackMove |
20 |
|
COMMAND_RallyParade |
21 |
|
COMMAND_NumCommands |
25 |
No idea what happened to 22 - 24 . |
Related Pages
Comments
This list was generated by grepping the output of printing the globals()
table.