Author Topic: can someone stop respawning when tumbled by skis  (Read 318 times)

i'm hosting a ski joust and its annoying when people fly haphazardly in all directions only to respawn with a click before they hit the lava

shouldn't it be something like
Code: [Select]
package noObserverRespawn
{
function Observer::onTrigger(%this,%cam,%btn,%state)
{
%client = %cam.getControllingClient();
if(isObject(%client.player))
{
if(%client.player.getObjectMount().getDataBlock().getName() $= "deathVehicle")
return;
}
parent::onTrigger(%this,%cam,%btn,%state);
}
};
ActivatePackage(noObserverRespawn);