I've tried using ::onDeath, ::onRemove and ::onDelete however they don't seem to get called on the brick itself that was planted, instead the argument comes up as some general object that doesn't relate to the planted brick, so just using .getPosition(); on it doesn't work.
-snip-
function brickCheckpointData::onRemove(%obj)
{
echo(%obj);
%pos = %obj.getPosition();
Parent::onRemove(%obj);
}
-snip-
This is pretty much the code that I've used for all of them, but had another argument down for the delete.