Blockland Forums > Modification Help
Help with gamemode.
Eeposs:
--- Quote from: phflack on September 26, 2011, 04:39:03 PM ---function hammerProjectile::onCollision(%this, %obj, %col, %fade, %pos, %normal)(%this, %obj, %col, %fade, %pos, %normal) //When the projectile collides with something...(it can or not be a brick)
seems like "(%this, %obj, %col, %fade, %pos, %normal)" is duplicated
--- End quote ---
Already fixed that.
otto-san:
your function onHit has no namespace when it should
missed hammer bit
hold on
edit:
you need to add in parent::onCollision(%this, %obj, %col, %fade, %pos, %normal); to hammerProjectile::onCollision