Skip to content

Commit 5e5fb74

Browse files
authored
Improved mount
1 parent cef9103 commit 5e5fb74

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

addons/AIO_AIMENU/mount.sqf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ _getInFnc =
7474
sleep 1;
7575
};
7676

77-
if (_unit distance _target > _distance OR !(alive _unit) OR !(alive _target)) exitWith {_unit doMove (position _unit); _unit setVariable ["AIO_Mount_Canceled", 1]};
77+
if (_unit distance _target > _distance OR !(alive _unit) OR !(alive _target)) exitWith {_unit setVariable ["AIO_Mount_Canceled", 1]};
78+
_unit doFollow player;
79+
_unit doMove (getPos _unit);
7880
if (_getInAs == 1) then {
7981
_unit assignAsDriver _target;
8082
_unit action ["getinDriver", _target];

0 commit comments

Comments
 (0)