Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Adding Unique Effects to OnCollision
« previous
next »
Print
Pages: [
1
]
Author
Topic: Adding Unique Effects to OnCollision (Read 641 times)
LegoEggo
June 08, 2008, 11:51:57 PM
If I want to add a unique effect to a weapon/item when the projectile hits a brick, how would I do that?
Ad Bot
Advertisement
Falcondude
June 09, 2008, 11:05:33 AM
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)
}
LegoEggo
June 09, 2008, 10:01:52 PM
Thonk you.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Adding Unique Effects to OnCollision