Jump to content

BaseJump-Script ( Parachuting from high locations )


Recommended Posts

Not sure if anyone has done this yet BUT...

 

if you want to display altimeter just change sqf to this..

This is original release  it does not have any of nightmares updates....

I just noticed there have been some updates since my last visit...

 

change the _meters = 25;   

to whatever height you want to use

 

baseJump.sqf

_meters = 25;
_action = -1;


while { alive player } do {


    _vehicle = vehicle player;
    _pos = getPosASL player;
    if !(surfaceIsWater _pos ) then {_pos =  ASLToATL _pos;};
            
    if( !(_vehicle isKindOf "Air") && (_pos select 2) > _meters ) then {    
            if (  _action < 0  ) then {
                JumpVehicle = _vehicle;
                _action = JumpVehicle addAction [ ("<t color=""#FE9A2E"">" + ( localize "STR_HALO_OPEN_CHUTE" ) + "</t>" ),"\z\addons\dayz_code\compile\BIS_fnc\fn_halo.sqf",[],1,true,true,"",""];
            };


hintsilent format ["Altimeter: %1", round (getPosATL player select 2)];


if (((getposATL player)select 2) < 1) then
{
hintsilent "";
};


    } else {
        JumpVehicle removeAction _action;
        _action = -1;
    };
};

edit... Just Downloaded Latest and wow you have added alot I see..

can I ask whats new in the updates ?? don't see changelog

Link to comment
Share on other sites

  • 6 months later...
  • 2 years later...

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
  • Advertisement
×
×
  • Create New...