OK, so the thing I struggle with most when I am writing a mission is scripting AI. I know some things, but I don't know enough, and it is a real pain to try and sort the AI to get allies and enemies to do what I want them to do! Here is what I know...
Set Property commands: The ones listed below can be used on both Enemy and Neutral ships
topSpeed - sets the maximum speed a ship will move. (2.465 ~ Warp 1)
throttle - how quickly a ship will accelerate to its maximum speed.
turnRate - the speed at which a ship will turn. (0.006 is the turn rate of a battleship or light cruiser. 0.008 is a fast turn rate, equivalent to the turn rate of a scout. 0.004 is equivalent to the turn rate of a dreadnaught.)
You can also choose the Add Property command, which will just add a value to the current value set. I do not believe you can use negative values to subtract for the property.
Add AI commands:
Follow comms orders (neutrals only) - will allow you to send comms orders to neutral vessels. It seems to override other AI commands.
Direct Throttle (enemy and neutrals) - this will set the vessel on a heading (in degrees). The Throttle sets how quickly the ship will accelerate to its top speed.
Point Throttle (enemy and neutrals) - this will set the vessel on a heading towards a particular point on the map. The Throttle sets how quickly the ship will accelerate to its top speed.
Target Throttle (enemy and neutrals) - this will set the vessel on a heading towards a particular named object on the map e.g. a ship, anomaly, base etc. The Throttle sets how quickly the ship will accelerate to its top speed.
Clear AI command stack: this will clear all AI command previously set
Every other command seems to be self explanatory, however they rarely seem to work how I expect. All the above commands I have tried and tested and know how they work. If you know how other commands work and have tried and tested them, then please add below! I need help with understanding what all the different commands do so I can more accurately control both enemy and allied ships in game. Post what the command does and who it can be applied to!