Author Topic: A tumble where you can still die from fall dammage  (Read 2965 times)

Hm i figured out how to make the script but i dunno where to put it.

Code: [Select]
package tumbledamage{
 function DeathVehicle::onImpact(%this,%obj){
   parent::onimpact(%this,%obj);
   if($pref::server::fallingdamage){
    if(vectorlen(%obj.getvelocity())>30){
     messageall('',"<bitmap:add-ons/ci/crater> "@%obj.getmountedobject(0).client.name);
     %obj.getmountedobject(0).kill();
    }
   }
 }
};
activatepackage(tumbledamage);

tested and it seems to work fine, it only kills you if fall damage is toggled on in the server.


Thank you Zor. Also the Blockland community is upset that you haven't released your Spy on killer script.