addWaypoint – Talk
Jump to navigation
Jump to search
It seems to me that added waypoints are not correctly stacked. I tried to add 2 waypoints to a AH1 and they ended with the same waypoint ID, with the second one overriding the first one.
- What do you mean by the waypoint ID? The second element in the array that's returned? That should (and does) increment. The first one is the group name and stays the same. Check this demo mission that creates dynamic waypoints. --Kronzky 09:57, 29 December 2006 (CET)
- The 0 waypoint is reserved for the initial starting position. Try starting from 1. Perhaps the example should be updated. hoz
- ??? You don't specify the WP index in the addWaypoint command. ArmA automatically adds the new one behind the last current one. The zero in the argument (and in the example) is the placement radius. Or which zero are you referring to? Kronzky
- Your right, I'm mixing it up with another command. :) hoz
- ??? You don't specify the WP index in the addWaypoint command. ArmA automatically adds the new one behind the last current one. The zero in the argument (and in the example) is the placement radius. Or which zero are you referring to? Kronzky
- The 0 waypoint is reserved for the initial starting position. Try starting from 1. Perhaps the example should be updated. hoz