Snoopy22 0 Posted March 24, 2007 Im just wondering. ok I have a part in the map where I want a huge scene to happen infront of the players. The commander walks up to them with a move waypoint then talks to them.....what I want to happen is when he moves a bit closer I want him to die and all AI soldiers around him die also plus I wanted to see if its possible to make an explosion happen behind them or around them by lets say having tanks spawn with mines under them so it looks like a explosion or is there just a way of making a huge explosion happen. Is this possible? if u dont understand Ill try and be more descriptive. Share this post Link to post Share on other sites
squeeze 22 Posted March 24, 2007 yes can be done.... bombhere would be the name of the commander or something else. in a trigger have condition: bombhere in thislist activation: boom=[]execVM"bang.sqf" bang.sqf <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _pX = ((_position bombhere) select 0); _pZ = ((_position bombhere) select 1); _pY = ((_position bombhere) select 2); bomb = "Bo_GBU12_LGB" createVehicle ([(_px+50),_pz,_py]); bomb1 = "Bo_GBU12_LGB" createVehicle ([(_px+40),_pz,_py]); bomb2 = "Bo_GBU12_LGB" createVehicle ([(_px+30),_pz,_py]); bomb3 = "Bo_GBU12_LGB" createVehicle ([(_px+20),_pz,_py]); bomb4 = "Bo_GBU12_LGB" createVehicle ([(_px+10),_pz,_py]); bomb5 = "Bo_GBU12_LGB" createVehicle ([(_px+0),_pz,_py]); bomb6 = "Bo_GBU12_LGB" createVehicle ([(_px-10),_pz,_py]); bomb7 = "Bo_GBU12_LGB" createVehicle ([(_px-20),_pz,_py]); Share this post Link to post Share on other sites