mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
Fixed AI - AI kill messages
This commit is contained in:
parent
3e73b833c8
commit
4ef0e973be
@ -14,7 +14,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
params [["_target",objNull,[objNull]], ["_killer",objNull,[objNull]]];
|
params [["_target",objNull,[objNull]], ["_killer",objNull,[objNull]]];
|
||||||
if ((_killer isKindOf "Man") AND (isPlayer _killer)) then // Roadkill or regular kill
|
if (isPlayer _killer) then
|
||||||
|
{
|
||||||
|
if (_killer isKindOf "Man") then // Roadkill or regular kill
|
||||||
{
|
{
|
||||||
if (vehicle _killer isEqualTo _killer) then // If on foot
|
if (vehicle _killer isEqualTo _killer) then // If on foot
|
||||||
{
|
{
|
||||||
@ -81,6 +83,7 @@ if ((_killer isKindOf "Man") AND (isPlayer _killer)) then // Roadkill or regular
|
|||||||
[_target, _killer] ExecVM "exile_vemf_reloaded\sqf\sayKilledWeapon.sqf";
|
[_target, _killer] ExecVM "exile_vemf_reloaded\sqf\sayKilledWeapon.sqf";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
_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