Hinds 10 Posted December 20, 2011 Greetings. This'll be the first post in a while, as well as my first post in the Arma 2 forums. My shiny new PC can run the game pretty well, although the 70km^2 definitely makes her chug now and then. And those smoke/dust effects... yeesh. Anyways, my question pertains to how to set up my assault encounter in this mission I'm working on. Currently, I have 3 Humvees: two AI and one player. Each has a full compliment of troops. For the AI squads, the driver and gunner are never intended to get out (so it's a vehicle unit + cargo'd infantry squad of 3). What I am doing is having the player Humvee peel off the back of the convoy near the start of the mission to clear out a group of insurgents in a stand of trees. That's easy enough. I have a switch trigger set up to toggle the insurgents to hostile once the BLUFOR convoy passes by. Here is where the question really begins. The AI portion of the convoy continues on to a position further down the road, then the 2 infantry squads dismount. They are supposed to rush over to positions in the bushes on the riverbank opposite the insurgent compound and wait for Radio Alpha. The intention is for the player's squad to deal with the insurgents in the stand of trees I mentioned before, then link up with the AI squads, get in position, and initiate the attack. But it seems like the AI wants to shoot even when told not to, and they continuously do bounding maneuvers instead of just flat-out running in to positions as I'd like. I only have two insurgents in view, on a hilltop, but they are scripted such that they won't do anything until Radio Alpha is activated. Regardless, the AI squads will often engage them for no reason... which kinda spoils the fun of Radio Alpha. In essence, I just want them to run (not bound) over to the bushes on the riverbank, and hang out there until told to start shooting with Radio Alpha. What can I do to ensure they move quickly and don't starting shooting before they're supposed to? I apologize for the long-windedness and thank you in advance for any help you can offer. :D Share this post Link to post Share on other sites
PELHAM 10 Posted December 20, 2011 disableAI enableAI setSpeedMode setcombatMode setBehaviour Try the above, explanations here: http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2 Share this post Link to post Share on other sites
f2k sel 164 Posted December 20, 2011 You may also want to set the two AI units to captive that way your men will see them as friendly until you set them back to normal. If you have AI units named unit1 Put the the following in the init line of that unit unit1 setcaptive true; same again for unit two unit2 setcaptive true; Then in your radio trigger put this to to reset them unit1 setcaptive false;unit2 setcaptive false Share this post Link to post Share on other sites