Workaround method :
Check exists COMMAND for using as template to display custom command. Just play all ship command and findout which is like custom command's display.
For example, COMMAND_FOLLOW have one parameter (Var/Ship) and will display it at 'target' place, the following display will be "Following .. targetShip"
If the custom command also use a Var/Ship parameter, then we can use {COMMAND_FOLLOW} as "template" and replace the 'command part' but not the 'target part' by using additional "set script command"
COMMAND_CUSTOM = "Aim at .."
$targetShip = "Tiger 1"
Code: Select all
[THIS] -> set command: COMMAND_FOLLOW target=$targetShip target2=null par1=null par2=null
set script command: COMMAND_CUSTOM
= wait 10000 ms
However, if no template exists for custom command, then we need to figure out what and how to implement the parameter for custom command.
Anyone ?