Frictional Games Forum (read-only)

Full Version: Making chemical jars explode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how do you make it so when you throw something at a placed chemical jar, it will explode? Is there a callback for collision?
AddEntityCollideCallback("[Object thrown]", "[Jar Name]", "[Explosion function]", true, 1);
The code for it is in maps/ch01/12_storage.hps. You can also open the map itself in the Level Editor and check any specific settings in the area.