Jump to content
myles

How do you delete waypoints?

Recommended Posts

With the deleteWaypoint command.

Like: deleteWaypoint [mygroup, 2];

Where:

mygroup is the name of your group (defined with mygroup=group this in the group leaders init line)

2 is the 3rd waypoint of the group (1st waypoint is always 0).

Share this post


Link to post
Share on other sites

Or deleteWaypoint [group man1, 1] if you don't make the group but his name is man1

Share this post


Link to post
Share on other sites

Delete waypoints as in remove them after you put one or more down in the editor and you dont want them?

Hover your mouse cursor over the waypoint and hit delete on your keyboard.

Share this post


Link to post
Share on other sites

Well my googling led me here.

My question is, how can I add a waypoint on an already existing line of waypoints? I thought I had done that a long time ago but forgot. I've looked for quite a long time but even the wiki doesn't say anything.

Share this post


Link to post
Share on other sites

Just place it where you want (it wiil be the last one in the chain) and then adjust the Order number in the menu.

Share this post


Link to post
Share on other sites
On 27/2/2011 at 3:06 AM, myles said:

how

 

Hello there Myles!

 

[I don't know if you are asking this about the editor.]

ex:

while {true} do  {
//hint"WP SniperTeam updated";
{
	deleteWaypoint [_x, 0];	
	_waypoint1 = _x addWaypoint [(getPos player),0];	
	_waypoint1 setWaypointType "SAD";//SAD MOVE
	_x setCombatMode "RED";
	_x setSpeedMode "FULL";
	_x allowFleeing 0;	
		}foreach [_SniperTeams];
	 sleep 50;
 };

 

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

×