Author Topic: Adding Unique Effects to OnCollision  (Read 641 times)

If I want to add a unique effect to a weapon/item when the projectile hits a brick, how would I do that?

yourProjectileName::onCollision(whatever the vars are, some don't need the %fade etc){
  new stuff
  stick in parent::onCollision(vars) if you want it to perform the original collision function (damaging, etc)
}