Stryder 0 Posted November 29, 2001 I have a BIG problem. I'm making a mission where you attack a enemy held crossroads and it has various defensive emplacements. Whenever I'm still about 200m away all the AI come out of their positions and start attacking me out in the open. It's ok when just a few soldiers do this but when ALL do... The idea is that the enemy soldiers fire from behind their defensive emplacements. I've placed HOLD waypoints on the defensive emplacements so they shouldn't be doing this. Please help... Share this post Link to post Share on other sites
MP 0 Posted November 29, 2001 Hmmm......... Try: Unitname canmove FALSE Share this post Link to post Share on other sites
draykore 1 Posted November 29, 2001 Can you prevent a guy from going prone cuz the guys lie down in the bunkers when the enemy comes. Share this post Link to post Share on other sites
vitoal125 0 Posted November 29, 2001 unitname setunitpos "up" Share this post Link to post Share on other sites
Door a jar 0 Posted December 11, 2001 Hey I had a bit of a problem with that too. If you set in the init field. this setcombatmode"yellow" they will stay where you put them. Bear in mind though that they can not be grouped and must be a lone unit, if they are grouped they will leave their position and try to rally around the group leader. to keep them standing behind their emplacement without going prone and falling through their cover use this setunitpos"up", It will keep them in the offhand position. set their behaviour to either combat or alert. I tried to find a way to make them take a knee and stay there so they can take better advantage of their cover, but no takers yet on that. Good luck -Door_a_jar Share this post Link to post Share on other sites
whisperFFW06 0 Posted December 12, 2001 doStop unitName canMove False is a bit strong, as the unit will be unable to move if it has to. Perhaps unitName doMove getPos positionName could do the trick, as when you order a unit to move somewhere, they won't move afterwards. I don't know if the AI leader reissue another order to regroup everybody. Whis' Share this post Link to post Share on other sites