hi,
i have a problem in my little mission:
I placed some soldiers in some huts. They have small arms, rifles and automatic pistols. Now we have a chopper with low armor value, a MH6 Littlebird. Everytime this chopper is flying over the camp, the soldiers leave the huts and try to follow and run behind the chopper. The soldiers are not grouped together, but they have setUnitPos "up"...
Now here is a list of things i tried:
1. disableAI "autotarget" --> no effect, they leave the huts
2. disableAI "target" --> dito
3. Waypoint over them, teleport soldier + his waypoint to the hut --> result with different waypoints (hold, guard, etc.): no effect, they leave the huts
4. dotarget other (fake) objects --> no effect, seems not to work with dead objects
5. using doStop on them --> no effect, when they recognize the chopper, dostop does nothing
6. using the stop command --> they won't move ok, but they won't fire at anything either, even by using dotarget and dofire
7. force them into "crouch" position --> no effect, leaving the huts
I do not want to have them lying on the ground, they should be able to crouch and stand up, and fire through windows...
Why do i use not disableAI "move" ?? Well, with that command their behaviour, and turning and targeting ability become ... let's call it very bad. You have to run direct into the front of their face to get their attention, result is a useless soldier. I tried this in combination with reveal, dowatch (to his enemy, and as alternative to the enemy position), dotarget and dofire, but all these commands doesn't make the situation better on a soldier with disableAI "move". The war is over, before such a soldier fires any shot...
At the moment i am experimenting with combinations of playMove "-several turnanimations-" and setdir commands. It is looking strange, and the scripts tend to be laggy in MP.