mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Bodies should clear if configured to do so
It was a silly mistake
This commit is contained in:
parent
c03fda44be
commit
31890b0015
@ -42,6 +42,17 @@ if (isPlayer _player) then
|
||||
};
|
||||
} forEach allUnits;
|
||||
};
|
||||
|
||||
if (DMS_clear_AI_body && {(random 100) <= DMS_clear_AI_body_chance}) then
|
||||
{
|
||||
removeAllWeapons _unit;
|
||||
removeAllAssignedItems _unit;
|
||||
removeAllItemsWithMagazines _unit;
|
||||
removeHeadgear _unit;
|
||||
removeUniform _unit;
|
||||
removeVest _unit;
|
||||
removeBackpack _unit;
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -60,6 +71,7 @@ else
|
||||
removeAllWeapons _unit;
|
||||
removeAllAssignedItems _unit;
|
||||
removeAllItemsWithMagazines _unit;
|
||||
removeHeadgear _unit;
|
||||
removeUniform _unit;
|
||||
removeVest _unit;
|
||||
removeBackpack _unit;
|
||||
|
Binary file not shown.
@ -75,6 +75,9 @@ if (!hasInterface && !isServer) then
|
||||
|
||||
|
||||
## Changelog:
|
||||
#### September 7, 2015 (7:00 PM CST-America):
|
||||
* AI bodies should now be cleared if configured to do so with "DMS_clear_AI_body" and "DMS_clear_AI_body_chance".
|
||||
|
||||
#### September 5, 2015 (1:00 AM CST-America):
|
||||
* Created new function "DMS_fnc_IsPlayerNearby" to replace "ExileServer_util_position_isPlayerNearby".
|
||||
* Fix IR Strobes spawning inside the crate and not appearing.
|
||||
|
Loading…
Reference in New Issue
Block a user