Jump to content
Sign in to follow this  
b101_uk

are setWaypointPosition & setWPPos broke

Recommended Posts

How about some more details, how are you using it, what parameters do you give it.

What is the expected result, and what is the observed result?

Perhaps make a test mission available.

Share this post


Link to post
Share on other sites

As in using e.g.

[playergrp, 1] setWaypointPosition [position heli1, 0];

[playergrp, 1] setWaypointPosition [position pad1, 0];

With a player with init "playergrp = group player" (name pilot1)

Objects, markers, etc with names like heli1, pad1, etc.

Tried with triggers (with sound so i know the trigger has worked) and via .sqf with no joy.

I expect it to e.g.

Move the "playergrp" waypoint 1 to heli1 or pad1 at a radius of 0m.

Share this post


Link to post
Share on other sites

Well it seems that "setWaypointPosition" in the context of moving a specific waypoint to an object/marker like it did with the tkoh CP, A2OA is broke

e.g.

[playergrp, 1] setWaypointPosition [position heli1, 0];

[playergrp, 1] setWaypointPosition markerPos "pad1";

[playergrp, 1] setWaypointPosition getPosATL "heli1";

i can get the following to work in their place:

markers:

[playergrp, 1] setWPPos markerPos "pad1";

object:

[playergrp, 1] setWPPos getPosATL heli1;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×