Jump to content
Sign in to follow this  
kadinx

Respawn Menu Position

Recommended Posts

Is it possible to give us control on the delay of "menuPosition" opening?
e.g. Suggestion
in Bis_fnc_showRespawnMenu line 7
can you give us control on the "3" in this: _time = time + 3;

 

maybe an addition to the code below: if (isNil "Bis_RscRespawnMenuDelay") then {Bis_RscRespawnMenuDelay=3};

and change the line 7 to: _time=time+Bis_RscRespawnMenuDelay;


below extract from the original function
[
_this spawn {
disableSerialization;
_mode = _this select 0;
if ((_mode == "open") && (time > 1) && (isNil {uiNamespace getVariable "BIS_RscRespawnControls_skipBlackOut"})) then {
_respawnDelay = playerRespawnTime;
switch true do {
case (_respawnDelay > 5): {
_time = time + 3;
waitUntil {(time > _time) || (!isNil {uiNamespace getVariable "BIS_RscRespawnControls_skipBlackOut"})};
cutText ["","black out",0.5];
sleep 1;
cutText ["","black in"];
};
case (_respawnDelay > 2): {
_time = time + 0.5;
waitUntil {(time > _time) || (!isNil {uiNamespace getVariable "BIS_RscRespawnControls_skipBlackOut"})};
cutText ["","black out",0.5];
sleep 1;
cutText ["","black in"];
};
};
};

Share this post


Link to post
Share on other sites

Just in case any developers is lingering around...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×