mk
so I dug around the bothole files and everything to try to find a callback when a bot dies, or at least the death or ondamage function
came up with this
//Package coreBot
//{
function holeBotDamage(%this, %obj, %source, %a, %b, %c)
{
echo("checkfirst");
parent::holeBotDamage(%this, %obj, %source, %a, %b, %c);
echo("check 1");
if(%obj.hCalledBotDeath)
{
echo("check 2");
echo(%obj);
echo(%source);
echo(%this);
}
}
//};
//ActivatePackage(coreBot);
don't ask about the commented package
but the first echo never even appears
I swear this worked like ~2 weeks ago, maybe not, any ideas of how to fix it or a different method?