File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ _unit assignTeam _assignedTeam1;
3333_tarPos = getPos _target ;
3434_vehT = vehicle _target ;
3535
36- if (vehicle _target ! = _target && _target ! = player ) then {
36+ if (vehicle _target ! = _target && ! ( isPlayer _target ) ) then {
3737 doGetOut _target ;
3838 waitUntil {! alive _target OR vehicle _target == _target };
3939 sleep 1 ;
@@ -104,7 +104,7 @@ if (alive _unit && _unit distance _tarPos < 2.5) then {
104104};
105105sleep 2 ;
106106_unit doWatch objNull ;
107- if ( _target ! = player ) then {
107+ if ! ( isPlayer _target ) then {
108108 _target forcespeed - 1 ;
109109 if (_target getVariable [" AIO_unitInCover" , 0 ] == 0 ) then {
110110 _target doFollow player ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ _unit assignTeam _assignedTeam1;
3838_tarPos = getPos _target ;
3939_vehT = vehicle _target ;
4040
41- if (vehicle _target ! = _target && _target ! = player ) then {
41+ if (vehicle _target ! = _target && ! ( isPlayer _target ) ) then {
4242 doGetOut _target ;
4343 waitUntil {! alive _target OR vehicle _target == _target };
4444 sleep 1 ;
@@ -157,7 +157,7 @@ if (alive _unit && alive _target && _unit distance _tarPos < 2.5) then {
157157};
158158sleep 2 ;
159159_unit doWatch objNull ;
160- if ( _target ! = player ) then {
160+ if ! ( isPlayer _target ) then {
161161 _target forcespeed - 1 ;
162162 if (_target getVariable [" AIO_unitInCover" , 0 ] == 0 ) then {
163163 _target doFollow player ;
You can’t perform that action at this time.
0 commit comments