Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- File: fn_stabiliseAction
- Author: Bobbus/Kevin
- Description: is sent to client to extend bleedout time of player
- */
- private["_bleedTime","_medic"];
- _medic = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param;
- _bleedTime = life_bleedout;
- if (isNull _medic) exitWith {};
- if (!isPlayer _medic) exitWith {};
- if(!(player getVariable ["unconscious",false])) exitWith {};
- titleText [format ["%1 is stabilising your wounds...",name _medic],"PLAIN"];
- sleep 4;
- switch (true) do
- {
- case (player getVariable["mm",false]): { _bleedTime = _bleedTime + 100; };
- case (player getVariable["acp",false]): { _bleedTime = _bleedTime + 85; };
- case (player getVariable["rifle",false]): { _bleedTime = _bleedTime + 70; };
- case (player getVariable["heavy",false]): { _bleedTime = _bleedTime + 55; };
- case (player getVariable["sniper",false]): { _bleedTime = _bleedTime + 45; };
- case (player getVariable["fucked",false]): { _bleedTime = _bleedTime + 30; };
- default {_bleedTime = _bleedTime + 120; };
- };
- life_bleedout = _bleedTime;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement