1. Name a Hunter "car".
2. Name a Huron "heli".
3. Place the following into your debug console and press local execute:
Code:
[] spawn {
_wpxx = (group heli) addWaypoint [getpos car , 0];
[(group heli), 0] setWaypointCombatMode "red";
_wpxx setWaypointType "HOOK";
_wpxx setWaypointSpeed "FULL";
_wpxx setWaypointBehaviour "SAFE";
_wpxx setWaypointFormation "LINE";
};
4. Drive the car a few meters from its position when you pressed execute.
Same result if: code is run from .sqf instead of inside a spawn command.