Finish Medical and Sleep to UiSleep

This commit is contained in:
icomrade
2016-03-05 22:34:09 -05:00
parent eadb3566c4
commit 68da397c52
87 changed files with 1320 additions and 1056 deletions

View File

@@ -1,9 +1,9 @@
// Load_wounded.sqf
// OCTOBER 2010 - norrin
private ["_wounded","_vcl"];
private ["_wounded","_vcl","_group"];
_wounded = _this select 0;
_wounded = _this select 0;
if (!local _wounded) exitWith {};
@@ -11,21 +11,22 @@ uiSleep 1;
_vcl = _wounded getVariable "NORRN_loadVcl";
_wounded setVariable ["NORRN_unit_dragged", true, true];
_wounded assignAsCargo _vcl;
_wounded assignAsCargo _vcl;
_wounded moveInCargo _vcl;
uiSleep 1;
//["norrnRALW",_wounded] call broadcastRpcCallAll;
norrnRALW = [_wounded];
publicVariable "norrnRALW";
//["norrnRaLW",_wounded] call broadcastRpcCallAll;
norrnRaLW = _wounded;
publicVariable "norrnRaLW";
_wounded switchMove "kia_hmmwv_driver";
if (local _wounded) then
{
if (local _wounded) then
{
waitUntil {!(_wounded getVariable "NORRN_unconscious")|| !alive _wounded || vehicle _wounded == _wounded || (assignedVehicleRole _wounded) select 0 != "Cargo"};
if (vehicle _wounded == _wounded || (assignedVehicleRole _wounded) select 0 != "Cargo") exitWith
if ((vehicle _wounded == _wounded) || (assignedVehicleRole _wounded) select 0 != "Cargo") exitWith
{
if (_wounded getVariable "NORRN_AIunconscious") then
{
{
if (vehicle _wounded != _wounded) then
{
unassignVehicle _wounded;
@@ -33,17 +34,19 @@ if (local _wounded) then
_wounded action ["EJECT", _vcl];
uiSleep 1;
};
norrinRAlie = _wounded;
publicVariable "norrinRAlie";
// PVDZ_drg_RAlie = _wounded; // not used
// publicVariable "PVDZ_drg_RAlie"; // not used
_wounded switchMove "ainjppnemstpsnonwrfldnon";
_wounded setVariable ["NORRN_unit_dragged", false, true];
uiSleep 1;
};
};
if (vehicle _wounded != _wounded && alive _wounded) then
{
_wounded playMove "BasicDriver";
{
_wounded playMove "BasicDriver";
};
};
uiSleep 0.01;
uiSleep 0.01;
if (true) exitWith {};