mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fastroping - Improve AI flight height (#9270)
Co-authored-by: jonpas <jonpas33@gmail.com> Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
This commit is contained in:
parent
9bcd990dd0
commit
9abb43ad3a
@ -24,7 +24,7 @@ private _speedMode = speedMode _group;
|
|||||||
// - Approach -----------------------------------------------------------------
|
// - Approach -----------------------------------------------------------------
|
||||||
if (_vehicle distance2D _position > 50) then {
|
if (_vehicle distance2D _position > 50) then {
|
||||||
_group setSpeedMode "LIMITED";
|
_group setSpeedMode "LIMITED";
|
||||||
_vehicle flyInHeight 20;
|
_vehicle flyInHeight [20, true];
|
||||||
_commander doMove _position;
|
_commander doMove _position;
|
||||||
waitUntil {_vehicle distance2D _position < 50};
|
waitUntil {_vehicle distance2D _position < 50};
|
||||||
waitUntil {vectorMagnitude (velocity _vehicle) < 3};
|
waitUntil {vectorMagnitude (velocity _vehicle) < 3};
|
||||||
|
Loading…
Reference in New Issue
Block a user