mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fastroping - Add compatibility with 2.12 (#9327)
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
This commit is contained in:
parent
3e35984610
commit
8517a6ef73
@ -24,7 +24,7 @@ private _speedMode = speedMode _group;
|
||||
// - Approach -----------------------------------------------------------------
|
||||
if (_vehicle distance2D _position > 50) then {
|
||||
_group setSpeedMode "LIMITED";
|
||||
_vehicle flyInHeight [20, true];
|
||||
_vehicle flyInHeight ([20, [20, true]] select ((productVersion # 2) >= 213)); // remove select after 2.14
|
||||
_commander doMove _position;
|
||||
waitUntil {_vehicle distance2D _position < 50};
|
||||
waitUntil {vectorMagnitude (velocity _vehicle) < 3};
|
||||
|
Loading…
Reference in New Issue
Block a user