sgthale
Junior Member
Posts: 22
Threads: 13
Joined: Aug 2011
Reputation:
1
|
Making chemical jars explode
how do you make it so when you throw something at a placed chemical jar, it will explode? Is there a callback for collision?
|
|
09-01-2011, 02:05 AM |
|
Obliviator27
Posting Freak
Posts: 792
Threads: 10
Joined: Jul 2011
Reputation:
66
|
RE: Making chemical jars explode
AddEntityCollideCallback("[Object thrown]", "[Jar Name]", "[Explosion function]", true, 1);
|
|
09-01-2011, 02:25 AM |
|
MegaScience
Member
Posts: 213
Threads: 1
Joined: Aug 2011
Reputation:
2
|
RE: Making chemical jars explode
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.
|
|
09-01-2011, 04:13 AM |
|