pipyn1970 19 Posted May 9, 2017 Hi folks, could someone please help me with this. I had it working last year but now today I tried to create a mission with it & I cant get it to work. Basically what it does is force an enemy MG gunner to hit a target (a can) when the player walks into a trigger. Ive set the distance the same as last year within the editor but for some reason I cant get it to work. Incase I'm asked, yes I have placed the SQF file in the mission folder. The code has been placed in the trigger that's activated by the player & the enemy have been named MG & MG2. expActiv="0 = [MG, target1,30,100,3] execVM ""shootingInf.sqf""; ;this addeventhandler [""fired"", {(_this select 0) setvehicleammo 1}]; 0 = [MG2, target1,30,100,3,] execVM ""shootingInf.sqf""; ;this addeventhandler [""fired"", {(_this select 0) setvehicleammo 1}];"; This is the original info: use: 0 = [soldier, target, min bullets per round, max bullets per round, pause between rounds example includes shooting from primary weapon 0 = [unit, target,7,10,8] execVM "shootingInf.sqf"; Thanks for any help guys. Share this post Link to post Share on other sites
Greenfist 1863 Posted May 9, 2017 This thread should go here: https://forums.bistudio.com/forums/forum/154-arma-3-mission-editing-scripting/ Could you share the "shootingInf.sqf"? Without it it's impossible to help you. And do you get any error messages? Share this post Link to post Share on other sites