Author Topic: Better Tumble  (Read 3272 times)

Well I was wondering whether it'd be possible to make it so that when you recover from tumbling, your player object "stand up" facing the direction you were looking in. Also it'd be nice if you automatically stopped spying instead of having to click. The reason I ask for this is because, being stunned in DM is basically your death.

I don't really understand what you are saying.  Can you re-phrase it in a step-by-step descriptions of what is going on?


He almost sounds like a bot...

I read it just fine.
Open up whatever has the tumble function.
Find this part:
Code: [Select]
function deathVehicle::onRemove(%this, %obj)
{
// echo("deathvehicle::onremove ", %this, " ", %obj);
%player = %obj.getMountedObject(0);
if(isObject(%player))
{
%player.canDismount = true;
}
}

and replace with:
Code: [Select]
function deathVehicle::onRemove(%this, %obj)
{
// echo("deathvehicle::onremove ", %this, " ", %obj);
%player = %obj.getMountedObject(0);
if(isObject(%player))
{
%player.canDismount = true;
%player.client.setcontrolobject(%player);
}
}