When a player is killed while moving, they die normally but, about 500ms later, they revert to the standard Bot avatar. Here's my code:
package PhysicsDeath
{
function armor::onDisabled(%data,%obj,%enabled)
{
%p = parent::onDisabled(%data,%obj,%enabled);
// applyDefaultCharacterPrefs(%obj);
// %obj.setDecalName("none");
// %obj.setNodeColor("ALL","0.5 0 0 1");
%obj.playthread(3,root);
%obj.playthread(2,root);
%obj.playthread(1,root);
%obj.activatePhysics();
return %p;
// %obj.emote(AlarmProjectile);
}
};activatePackage(Physicsdeath);