murraywcourt 10 Posted September 1, 2013 Hi everyone, I am trying to create explosive charge explosions in the editor. From six's classname directory I thought that I had the relevant classnames: _sites = [expl_1, expl_2, expl_3]; { _bomb = "DemoCharge_Remote_Mag" createVehicle getpos _x; sleep 5; deletevehicle _bomb; _blast= "DemoCharge_Remote_Ammo" createvehicle getpos _x; }forEach _sites; This doesnt seem to work in the way that it does for other explosions, for example: _sites = [expl_1, expl_2, expl_3]; { _bomb = "DemoCharge_Remote_Mag" createVehicle getpos _x; sleep 5; deletevehicle _bomb; _blast= "Sh_82mm_AMOS" createvehicle getpos _x; _blast setvelocity [0,0,-30]; }forEach _sites; Can anyone tell me how to find a classname that has recently changes using the editor? Share this post Link to post Share on other sites
kylania 568 Posted September 1, 2013 Things explode when they touch each other, so by deleting the object you're trying to collide before spawning the second item you're gonna have a bad time. _Mag doesn't work, but _Ammo does. Share this post Link to post Share on other sites
murraywcourt 10 Posted September 1, 2013 Just discovered that my script places a charge, and not an explosion. _sites = [expl_1, expl_2, expl_3]; { _blast= "DemoCharge_Remote_Ammo" createvehicle getpos _x; }forEach _sites; What is the classname for the explosion? Share this post Link to post Share on other sites
murraywcourt 10 Posted September 3, 2013 Anyone know the classname for a explosive charge explosion? Can't find it anywhere. Share this post Link to post Share on other sites
jts_2009 96 Posted September 3, 2013 Anyone know the classname for a explosive charge explosion? Can't find it anywhere. put you on map, as civilian. put ammobox with explosive charges. put trigger with condition: true On activation write: hint format ["%1", magazines player] Now you should see in hint the classname of magazines you have. if you become empty array, try - hint format ["%1", weapons player]. Not sure how its in arma 3 is :D but I think magazines should work Share this post Link to post Share on other sites
murraywcourt 10 Posted September 3, 2013 Thanks, this gives me the classname "DemoCharge_Remote_Mag", and for some reason the command _ouch = "DemoCharge_Remote_Mag" createvehicle getpos player; doesnt do anything. Any ideas on what has changes since previous games? Share this post Link to post Share on other sites
kylania 568 Posted September 3, 2013 Which is exactly what I said above. You don't need the "mag" name to spawn one in order to explode it, you need the "ammo" name. "DemoCharge_Remote_Ammo" not "_Mag" Share this post Link to post Share on other sites
murraywcourt 10 Posted September 3, 2013 I have tried' _ouch = "DemoCharge_Remote_Ammo" createvehicle getpos player;', this creates a physical charge at the player's feet, not the explosion. In previous arma games it has worked but in this one it doesnt. Share this post Link to post Share on other sites
magicpanda 19 Posted September 4, 2013 How would I use createVehicle with cursorTarget in this bit of code? bomb="M_Mo_82mm_AT_LG" createVehicle (getPos IED); Share this post Link to post Share on other sites
murraywcourt 10 Posted September 4, 2013 Some mortarshell classnames dont work, and some will only work if you use 'bomb setvelocity [0,0,-10]' on them so they collide with the ground after initialization. Share this post Link to post Share on other sites