depends on the function its in, cause the parameters may be different.sourceClient:if %obj is a player object, then its %obj.clientif %obj is a projectile, then its %obj.sourceClientif %obj is a client, then its %obj (duh)sourceObject:if %obj is a player object, then its %obj (duh)if %obj is a projectile, then its %obj.sourceObjectif %obj is a client, then its %obj.playerwe need the relevant oncollision code to comment on this better
function DemonFireballWandProjectile::onWhatever
That still won't fix it.Can bounce explosions even deal radius damage? The projectile is meant to last a while, bouncing around and doing radius damage whenever it bounces, but it's not working.
onCollision Generally works like thisProjectileName::onCollision(%this, %obj, %col, %fade, %pos, %normal, %velocity)Don't forget to parent your functions if need be - that could also be the issue