mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
Fixed punishments
This commit is contained in:
parent
6e5be71664
commit
ae63761220
@ -74,6 +74,14 @@ if (_this isEqualType []) then
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
} else // If kill from vehicle (NOT a roadkill)
|
} else // If kill from vehicle (NOT a roadkill)
|
||||||
|
{
|
||||||
|
if (typeOf (vehicle _target) isEqualTo "Steerable_Parachute_F") then
|
||||||
|
{
|
||||||
|
if ("logCowardKills" call VEMFr_fnc_getSetting isEqualTo 1) then
|
||||||
|
{
|
||||||
|
["fn_aiKilled", 1, format["A coward (%1 @ %2) killed a parachuting AI", name _killer, mapGridPosition _killer]] spawn VEMFr_fnc_log;
|
||||||
|
};
|
||||||
|
} else
|
||||||
{
|
{
|
||||||
_killer = effectiveCommander _killer;
|
_killer = effectiveCommander _killer;
|
||||||
[_target, _killer] ExecVM "exile_vemf_reloaded\sqf\handleRespectGain.sqf";
|
[_target, _killer] ExecVM "exile_vemf_reloaded\sqf\handleRespectGain.sqf";
|
||||||
@ -84,6 +92,7 @@ if (_this isEqualType []) then
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
_settings = [["aiCleanup"],["removeLaunchers","aiDeathRemovalEffect","removeHeadGear"]] call VEMFr_fnc_getSetting;
|
_settings = [["aiCleanup"],["removeLaunchers","aiDeathRemovalEffect","removeHeadGear"]] call VEMFr_fnc_getSetting;
|
||||||
_removeLaunchers = _settings select 0;
|
_removeLaunchers = _settings select 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user