mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Correct side usage
This commit is contained in:
parent
841f939012
commit
8509646f88
@ -44,7 +44,7 @@ if (GVAR(camMode) == 0) then {
|
||||
_speed = format ["%1 m/s", GVAR(camSpeed)];
|
||||
} else {
|
||||
_focus = rank GVAR(camUnit);
|
||||
_fov = WFSideText GVAR(camUnit);
|
||||
_fov = WFSideText (group GVAR(camUnit));
|
||||
_name = name GVAR(camUnit);
|
||||
_speed = format ["%1 km/h", floor(speed GVAR(camUnit))];
|
||||
};
|
||||
|
@ -40,7 +40,7 @@ _newUnits = [[],allPlayers,allUnits] select GVAR(filterUnits);
|
||||
|
||||
// Side setting filter
|
||||
_sides = [];
|
||||
_cond = [{_this == playerSide},{(_this getFriend playerSide) >= 0.6},{(_this getFriend playerSide) < 0.6},{true}] select GVAR(filterSides);
|
||||
_cond = [{_this == (side group player)},{(_this getFriend (side group player)) >= 0.6},{(_this getFriend (side group player)) < 0.6},{true}] select GVAR(filterSides);
|
||||
{
|
||||
if (_x call _cond) then {
|
||||
_sides pushBack _x;
|
||||
|
Loading…
Reference in New Issue
Block a user