Jump to content

Recommended Posts

7 hours ago, okayasd1 said:

in my script the damage is so high. the players are jumping from homes and die immideatly

What's your difficulty set to for the mission? Are you using a custom difficulty?

Share this post


Link to post
Share on other sites

this might work to reduce fall damage by half. I don't know though try it

//--- Reduce Fall Damage
if (_damageType isEqualTo "falling") then {

    if !(_hitSelection in ["", "legs"]) then {

		//--- Divide Damage in Half
		_damage = _damage / 2;
        
    } else {
        if (_hitSelection isEqualTo "") then {
            _hitSelection = "legs";
            _this set [1, _hitSelection];
        };
        //--- Divide Damage in Half
		_damage = _damage / 2;
    };
};

 

Share this post


Link to post
Share on other sites

The question should be, Why should someone jump from a building and not die? What kind of building are you talking about. I mean, if they're jumping from a office building, they gonna die. You're best off not messing with "" damage because that actually represents more then just fall damage.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×