Blockland Forums > General Discussion
How to make long-lasting killed players?
Reinforcements:
For player respawn time? Change it in the minigame settings.
Hotspot:
--- Quote from: Reinforcements on June 08, 2013, 07:05:49 PM ---For player respawn time? Change it in the minigame settings.
--- End quote ---
nono
I mean corpses
But thanks
Reinforcements:
--- Quote from: Hotspot on June 08, 2013, 07:35:46 PM ---nono
I mean corpses
But thanks
--- End quote ---
That will require some scripting I believe since I don't know of any public mods that do this. I do remember seeing a suggestion in suggestions&requests though.
Swollow:
--- Code: ---package SwolDeathSys
{
function Player::RemoveBody(%Obj)
{
if(!%Obj.ResetBody)
{
%Obj.ResetBody = 1;
Schedule(25000,0,RemoveBodySecond,%Obj);
return;
}
if(%Obj.ResetBody)
{
Parent::RemoveBody(%Obj);
}
}
function RemoveBodySecond(%Obj)
{
%Obj.RemoveBody(%obj);
}
};
ActivatePackage(SwolDeathSys);
--- End code ---
some old code, will make bodies stay for 30 seconds
elm:
--- Quote from: swollow on June 08, 2013, 07:39:10 PM ---
--- Code: ---package SwolDeathSys
{
function Player::RemoveBody(%Obj)
{
if(!%Obj.ResetBody)
{
%Obj.ResetBody = 1;
Schedule(25000,0,RemoveBodySecond,%Obj);
return;
}
if(%Obj.ResetBody)
{
Parent::RemoveBody(%Obj);
}
}
function RemoveBodySecond(%Obj)
{
%Obj.RemoveBody(%obj);
}
};
ActivatePackage(SwolDeathSys);
--- End code ---
some old code, will make bodies stay for 30 seconds
--- End quote ---
There's a variable that does this.