There is no way to make the AI stand still and rotate. doStop command doesn't work - because as soon as the enemy is in engaged, they start to move - which is useless if they are behind a barricade or a defensive position. disableAI "MOVE" is no good because they stay still but can't rotate. How about a command that allows the AI to rotate but NOT move? Please! It would allow mission makers to create enemy units in bunkers and things...
If there is a way to achieve this - please, downvote and let us know!