FlashMuffin   0 Posted October 17, 2022 as the title says, i'm very new to scripting and i'm looking for any tips on how to spawn an explosion on a prop if it gets destroyed. I'm trying to get a fuel pump to blow up when it gets destroyed and i'm looking for any help i can get 🙂 Share this post Link to post Share on other sites
Harzach   2517 Posted October 17, 2022 In your prop's init field: this addEventHandler ["Killed", { params ["_unit"]; "Bo_GBU12_LGB" createVehicle (getPos _unit); }];  2 Share this post Link to post Share on other sites
FlashMuffin   0 Posted October 17, 2022 35 minutes ago, Harzach said: In your prop's init field: this addEventHandler ["Killed", { params ["_unit"]; "Bo_GBU12_LGB" createVehicle (getPos _unit); }];   can i make a smaller explosion or is this the only one that works? Share this post Link to post Share on other sites
Harzach   2517 Posted October 17, 2022 Basically any explosive device from CFGAmmo.  Share this post Link to post Share on other sites
FlashMuffin   0 Posted October 17, 2022 ah okay, thank you for your helped, it worked really nice Share this post Link to post Share on other sites