package bloodBath
{
function player::damage(%obj, %sourceObject, %pos, %amount, %type)
{
%cp = %sourceObject;
if($damage::direct[%type] == 0)
{
%cp.mountImage(bleedImage,0);
%p = new Projectile()
{
datablock = goryDeathExplosionProjectile;
scale = "3 3 3";
initialVelocity = "0 0 0";
initialPosition = %cp.position;
sourceObject = %cp;
sourceSlot = 0;
client = %sourceObject;
};
}
parent::Damage(%obj, %sourceObject, %pos, %amount, %type);
}
};
activatePackage(bloodBath);
This is what I have now but theres two problems
#1 Suiciding results in this
#2 I can no longer seem to mount "bleed image"