mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Update dayz_filterGroup
This sometimes throws WARNING: Function 'name' - x is dead RPT, so "alive" appears to update too slowly for this as mentioned in: https://community.bistudio.com/wiki/Talk:alive
This commit is contained in:
@@ -2,7 +2,7 @@ private "_group";
|
||||
|
||||
_group = [];
|
||||
{
|
||||
if (alive _x && isPlayer _x) then {
|
||||
if (damage _x < 1 && isPlayer _x) then {
|
||||
_group set [count _group,_x];
|
||||
};
|
||||
} count (units group _this);
|
||||
|
||||
Reference in New Issue
Block a user