Page MenuHomeFeedback Tracker

Hook waypoint
Closed, ResolvedPublic

Description

The "HOOK" waypoint, can be used correctly in the editor, but it's not working if used with setWayPointType command(Scripted way).

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Scripting
Steps To Reproduce
  • Create a vehicle ( veh1 )
  • Create an helicopter with crew in it ( hooker )

_group1 = group hooker;
_wp1 = _group1 addWaypoint [veh1,0];
_wp1 waypointAttachVehicle veh1;
_wp1 setWaypointType "HOOK";

The helicopter will simply stops in mid air near the vehicle,without hooking it.

Event Timeline

Dardo created this task.Nov 13 2016, 10:35 PM
Dardo changed Reproducibility from N/A to Always.
razazel changed the visibility from "Custom Policy" to "Public (No Login Required)".Nov 14 2016, 4:21 PM
razazel claimed this task.Nov 14 2016, 4:43 PM
razazel changed the task status from New to Need More Info.
razazel added a subscriber: razazel.

Hello,

thank you for the feedback.

I have tried to use the repro steps you have provided and it seems to work just fine using Huron + Hunter. When using the Slammer instead of Hunter, I observed the issue you are referring to, however this is correct since it's too heavy for the Huron.
Might this be it?

Dardo added a comment.EditedNov 14 2016, 5:52 PM

Hi,thank you for the answer.
Actually I was trying to use a taru and an ifrit,and then tried with Huron + Ifrit,with no luck.
This is the mission i'm using

But , as it seems,the issue is only related to some kind of errror on my side.

Sorry for opening this uselessly.

razazel closed this task as Resolved.Nov 14 2016, 7:18 PM

I used the repro steps provided and tried Taru + Ifrit, seems to work fine.

If you find anything that might be relevant to the case and help me reproduce the issue, please let me know.

This comment was removed by Astaroth.
This comment was removed by Astaroth.
This comment was removed by Astaroth.

spam comments removed

Its a problem with the "createVehicleCrew" command.
better do not use it, or do it like this:

heli = createVehicle ["B_Heli_Transport_03_F",getpos cargo vectoradd [-100,-100,40],[],0,"FLY"];
createVehicleCrew heli;
heligroup = group driver heli;

{moveout _x; _x moveInAny heli} foreach units heligroup;

_wp = heligroup addWaypoint [cargo,0];
_wp waypointAttachVehicle cargo;
_wp setWayPointType "HOOK";