Skip to content

Commit

Permalink
Aircraft - Fix Drone "Loiter" Waypoint Action (#10319)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrschick committed Sep 17, 2024
1 parent fcb6b00 commit 8e15525
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/aircraft/functions/fnc_droneSetWaypoint.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ if (_type == "FOLLOW" && {["CAManBase", "LandVehicle", "Ship"] findIf {_target i
_waypoint setWaypointPosition [getPosASL _target, -1];
};
}, 3, [_vehicle, _group, _waypoint, _target]] call CBA_fnc_addPerFrameHandler;
} else {
_waypoint setWaypointType _type;
};

TRACE_3("",_currentHeight,_currentLoiterRadius,_currentLoiterType);
Expand Down

0 comments on commit 8e15525

Please sign in to comment.