Author Topic: Function for when a projectile explodes  (Read 663 times)

I need to know what the function for when a projectil explodes is, i have tryed:
function Projectile::onDeath

function Projectile::onExplosion

and im out of things that it could be.

Useful thing you can learn here.

1. Type "trace(1);" (no quotes) into the console.
2. Fire the projectile, let it explode.
3. Type "trace(0);" into the console.
4. Look back into the console.

Everything that happened will be shown in a much more detailed way than normal console. Doing this, you should be able to figure out what function you can use.