View Full Version : How to skip waypoints?
Nov 16 2001, 12:19
How can I make a current waypoint skipped to another thou it's not visited?
I need this in my mission where the waypoint is only marking a wide area where you have to find something. Then when the object is found the marking waypoint should now be skipped to the next objective thou the waypoint [MOVE] has not been visited. How do I do this?
Can somebody help me?
I can't give you the exact code because I haven't done it before, but I'm pretty sure it's doable.
You can tell your soldiers in the game to move to the next waypoint... so that means there's a way to skip waypoints (look in the online command docs). All you do is put a trigger over the waypoint or something that when the item is found, bump your waypoint to the next one.
Nov 16 2001, 22:34
Hey Nutbar, can you clarify that a little bit more please. This is something I really want to find out too.
Nov 17 2001, 09:36
Ok, I've found a way to move the current waypoint from the original place to another for example with markers with these scripts:
1.UnitName lockWP true --- now the waypoint is uncompleteable and marking the area
2.[UnitName, 1] setWPPos getMarkerPos "MarkerName"
--- now the waypoint chances its place to another showing the next objective when the objective is completed. Therefore there should be a condition in this trigger.
3.Now you can unlock this waypoint if necessary if it's not a same kind marking waypoint by:
UnitName lockWP not true
But now I want to know how could I rename or modify this waypoint, at least rename it. Or have you guys found another way? This is the only command wich I have found and I'm sure there's a better way...
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.