Jump to content
Sign in to follow this  
thetrooper

Change a simple waypoint

Recommended Posts

Hi, I've been trying to use waypointType, but I can't get it to work.

I have a unit that's currently at a hold waypoint, in a SQF file I just want to remove it or change it to 'MOVE'.

This is what I've been trying:

[hughesGrp, 0] setWaypointType "MOVE";

0 being the first waypoint. Any ideas?

Share this post


Link to post
Share on other sites

Hi... did you try 1 for the waypoint instead of 0? This is the waypoint number.... with 0 (zero) being the position of the unit when placed on the map.

It's not clear (to me anyway) exactly what you want.... you might have to post some code or try to explain that a little better.

[hughesGrp, [color="#FF0000"][b]1[/b][/color]] [url="http://community.bistudio.com/wiki/setWaypointType"][u]setWaypointType[/u][/url] "MOVE";

Share this post


Link to post
Share on other sites

You know what I tried that and it didn't work. I restarted Arma2 and it now works huh. Thanks for your input. I thought I knew what I was doing :p

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  

×