PDA

View Full Version : Disabling Player Death



ADayInForever
02-23-2011, 04:17 PM
Does anyone know how to disable dying completely if the player falls from great heights? I only want my character to perish or be hurt if he hits a triggervolume/dynamictriggervolume.

I've maxed out Kill Z in the world properties, but is there truly a way to disable height-related death completely?

Sec
02-23-2011, 04:37 PM
You could override the TakeDamage function of your Pawn, so that the damage is only applied if the damage causer is a triggervolume/dynamictriggervolume.

Object
02-23-2011, 04:54 PM
override takefallingdamage() in your custom pawn class like so:


function TakeFallingDamage()
{
}

this simply gets rid of all falling damage/sounds/everything....