It would be very useful to be able to have a setAction command to simulate user action as it allows in VBS3.
https://sqf.bisimulations.com/display/SQF/setAction
This would allow fairly complex features in mods like autopilots, but also scripts that hook in to any basic game functionality like crouching/leaning, it could even be used for fairly basic implementations of features like commander overrides on turrets (by using setAction on gunners to aim).
With any luck the code for setAction might already exist in the engine but just be commented out, considering how old the command is 😄