Fastroping - Remove 2.12 compatibility (#9329)

Update fnc_deployAIWaypoint.sqf
This commit is contained in:
Will/KJW 2023-09-05 14:37:56 +01:00 committed by GitHub
parent c11e7690bf
commit e3d6d6cc4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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, [20, true]] select ((productVersion # 2) >= 213)); // remove select after 2.14 _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};