Page MenuHomeContribution Center

init_player
Open, NormalPublic

Description

Line 228

	if (INS_p_rev in [4,5]) then {
		player addEventHandler ["Killed",{_this spawn {sleep 3; deletevehicle (_this # 0)}}];
		player addEventHandler ["Respawn", {
			[(_this # 0)] spawn {
				waitUntil {sleep 1; alive (_this select 0)};
				if (captive (_this # 0)) then {(_this # 0) setCaptive false};
			};
		}];
	}else{
		If (side player == east) then {player addEventHandler ["Killed", {Op4handle = [_this select 0] execVM "scripts\MoveOp4Base.sqf"}];};
	};

	if (!(INS_ACE_core) && !(INSpDamMul isEqualTo 100)) then {
		if (INS_p_rev in [4,5]) then {
			0 spawn {
				waitUntil {time > 4};
				hint "Player damage modifier not compatible with BTC Quick Revive. Default damage will be taken (100%)";
			};
		}else{
			pdammod = INSpDamMul*0.01;
			player addEventHandler ["HandleDamage",{_damage = (_this select 2)*pdammod;_damage}];
		};
	};

	if ((INS_ACE_core) && {INS_p_rev in [6,7]}) then {call INS_3d_Fallen};

Event Timeline

This comment was removed by 2LtBen.

67

	// Fatigue and Stamina
	setStaminaScheme "FastDrain";
	if (Fatigue_ability isEqualTo 0) then {//Disable Fatigue/Stamina
		[player] call INS_full_stamina;
	};

103

,"=BTC=_revive\=BTC=_addAction.sqf",