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
Door a jar 0 Posted December 11, 2001 Hey Stryder, I think I posted a reply to the same question by you in another thread, but if not this is what you need to do. Make sure your defensive units aren't grouped otherwise they will rally around their group leader and leave their position. Once that's done in their initialization field type this setbehaviour"alert" (you can also use combat, it will just put their weapon in the ready posistion instead of the alert) then type ;this setcombatmode"yellow" the ; is just to add a new string, combat mode yellow will tell the unit to engage units in it's field of fire, but to hold it's position and not actively seek out new targets outside of it's LOS. then type ;this setunitpos"up" this will keep the unit from taking cover, i.e. lying over the sandbags and just shooting up the inside of them, or getting down then up and down then up making the unit continuously drifting foreward. Note that if you have the behaviour combat and do not set the position to up your unit will start in the prone. It will not move from the prone position so if that's what you want you can do that as well. I've been trying to figure out how to get the AI into the kneeling to take full advantage of the cover you provide, but I haven't had any luck yet. Good luck and I hope this helps. Share this post Link to post Share on other sites