I tried to put this code at the bottom of the gun script, and I get errors.
Package GunEchoPackage
{
function GunProjectile::onCollision(%this,%obj,%col,%fade,%pos,%normal)
{
echo(%this);
echo(%obj);
echo(%col);
echo(%fade);
echo(%pos);
echo(%normal);
Parent::onCollision(%this,%obj,%col,%fade,%pos,%normal);
}
};
activatepackage(gunechopackage);
Can anyone tell me what I'm doing wrong?