addWaypoint – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(waypoint IDs)
Line 1: Line 1:
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.
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 [http://www.kronzky.info/misc/waypoints.zip this] demo mission that creates dynamic waypoints. --[[User:Kronzky|Kronzky]] 09:57, 29 December 2006 (CET)

Revision as of 10:57, 29 December 2006

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)