Function; SobGroup_GetCommandTargets - HWRM/KarosGraveyard Wiki
SobGroup_GetCommandTargets(<sTargetGroup>, <sSourceGroup>, <iCommand>)
sTargetGroup with all the ships
sSourceGroup is currently performing some 'command' (
iCommand) on, such as attacking, guarding.
In other words, fills
sTargetGroup with all the ships targeted by
Note: Most commands don't work at all, in fact perhaps only
COMMAND_Guardwork. Needs testing badly!
-- fill "output-group" with all the ships targeted for attack by "source-group": SobGroup_GetCommandTargets("output-group", "source-group", COMMAND_Attack);
||The group to fill with ships which are targeted by
||The group performing
||A 'command'. One of the