Jump to content
Ex3B

Moving loiter waypoints

Recommended Posts

I'm trying to make a single-player armed blackfish mission, using the loiter waypoint... basically just a fun deliver death from above against some various guerilla camps, maybe engage some MRAPs/APCs, repel an attack on friendly troops, etc.

 

The problem is placing any waypoint after the loiter waypoint will screw up the loiter waypoint, so my solution was to just have 1 loiter maypoint, and to move it with triggers (once a camp is cleared/enemy vehicle destroyed, etc).

However, it doesn't seem to be working. Can you not move a WP once it has been reached, am I doint something wrong?

 

I'm using https://community.bistudio.com/wiki/setWPPos 

I named my group (alpha 1-1) "Grp_1", 

Its the first and only WP, so it should be number 0, 

 

I do something like this in the trigger activation line, but it doesn't seem to work:

[Grp_1, 0] setWaypointPosition [[x,y,z], 0];

And yes the trigger fires (I include a hint "trigger fired", to make sure)

 

Wat do?

Share this post


Link to post
Share on other sites

[Grp_1, 0] is the (engine) waypoint with the start position of the group, not the current one (loiter).

try:

[Grp_1, currentWaypoint Grp_1] setWPPos  aPositionHere;

[Grp_1,currentWaypoint Grp_1] setWaypointLoiterRadius  radius; // if needed

[Grp_1,currentWaypoint Grp_1] setWaypointLoiterAltitude  altitude; // if needed

[Grp_1,currentWaypoint Grp_1] setWaypointLoiterType  "CIRCLE_L"; // if needed

 

 

  • Thanks 1

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

×