Ok, an empty vehicle can be a threat, but not when enemy troops are firing at you. I've seen situations where the AI ran out of ammo,because they really want to destroy an empty & damaged UAZ. That's stupid, because an empty vehicle can be used against the enemy.
When you order your men to attack a UAZ with MG (just an example) , they will try to kill the gunner and driver first, but after that they really want to destroy the UAZ completely.
Ok, when I'm in command, I can always cancel the target, but AI-officers don't do that. Even worse, when you kill the gunner and the driver disembarks, the AI will fire at the UAZ instead of the driver.
How can I fix that with a script?
I tried setcaptive & setfriend but both commands don't work on vehicles, only on troops.
Any suggestions?