I'm currently working on a new AI mod and having this feature would be very usefulHaving commands for setting the weapon and head direction of units is extremely useful for AI mods.
This game has a lot of potential for creating a really good AI. Like being able to look around, aiming the weapon at potential target positions, etc. Unfortunately, the command playMoveNow seems to override the aiming behavior of the AI while the animation is still playing (if looped,there are a lot of issues that make commands like doTarget/doWatch/lookAt/etc. during the first iterationuseless for this purpose (see T144528 for one of these issues).
Requested commands:
```
unit setWeaponDirection direction
```
Which sets the aim direction of the unit (taking the `limitGunMovement` value of the animation into account, see https://feedback.bistudio.com/T144528). So having a manual setWeaponDir command (and maybe even head direction?) would be useful.just like how the player changes aim using mouse)
And:
```
unit setHeadDirection direction
```
which sets the head direction (while also preventing awkward/invalid head directions)
P.S: I'm not sure why there's no such feature in the game right now. If it's because people might be able to create aimbots and cheat with it, then I'm sure you know better than me that there are hundreds of other (and more effective) ways to cheat!