function GameConnection::onDeath(%this,%obj,%killer,%type,%area)
{
//code before we call original functionality
%p = parent::onDeath(%this,%obj,%killer,%type,%area);
//code after we call original functionality
//return the value of the original function if applicable
return %p;
}