mattplayssimulations 1 Posted October 18, 2018 Hello, I'm trying to make a mission where a convoy roll up and they disembark. A few seconds later, I have a sniper team on the hill but i want them to only take a single shot. Is there any easy way to get the AI fire at the players with only a single shot? Been looking all over but no luck. I've managed to get them to fire from a long range but not with only a single shot. Thanks! Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted October 18, 2018 In the units init field: this addEventhandler ["Fired",{ params ["_unit"]; _unit setCombatMode "BLUE"; _unit removeEventhandler ["Fired",_thisEventhandler]; }]; This will make the unit disengage and hold fire after the first shot and also removes the eventhandler if needed. Cheers 3 Share this post Link to post Share on other sites
mattplayssimulations 1 Posted October 18, 2018 Thank you! is "blue" related to the faction? NATO convoy and Russian snipers. Share this post Link to post Share on other sites
beno_83au 1369 Posted October 18, 2018 "Blue" is related to their combat mode: setCombatMode Scripting Commands Arma 3 1 Share this post Link to post Share on other sites
mattplayssimulations 1 Posted October 18, 2018 Thanks guys! 1 Share this post Link to post Share on other sites
Harzach 2517 Posted October 18, 2018 Or, you know, just give him one bullet :D 1 Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted October 19, 2018 3 hours ago, Harzach said: Or, you know, just give him one bullet :D This usually initiates an inner discourse about proper uses of that one remaining bullet without any meaningful outcome. Cheers 4 Share this post Link to post Share on other sites
pierremgi 4850 Posted October 19, 2018 6 hours ago, Harzach said: Or, you know, just give him one bullet :D What for? playing Russian roulette with a P07 ? 3 Share this post Link to post Share on other sites
Harzach 2517 Posted October 19, 2018 21 minutes ago, pierremgi said: What for? playing Russian roulette with a P07 ? I'm feelin' lucky tonight, fellas! 3 Share this post Link to post Share on other sites