Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Making chemical jars explode
sgthale Offline
Junior Member

Posts: 22
Threads: 13
Joined: Aug 2011
Reputation: 1
#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
Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: Making chemical jars explode

AddEntityCollideCallback("[Object thrown]", "[Jar Name]", "[Explosion function]", true, 1);
09-01-2011, 02:25 AM
Find
MegaScience Offline
Member

Posts: 213
Threads: 1
Joined: Aug 2011
Reputation: 2
#3
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
Find




Users browsing this thread: 1 Guest(s)