Luft08 27 Posted December 2, 2021 The wiki says that an endDestination of "0" will make the stalker return to original group waypoints after the endCondistion becomes true. Does anyone know if the waypointStatements are restored? Share this post Link to post Share on other sites
opusfmspol 273 Posted December 3, 2021 The function's code can be viewed using the Functions Viewer (configFile -> A3 -> Combat). It uses copyWaypoints command, but doesn't copy a waypoint's statements. Whether the command itself would copy the statements over, I don't know, wiki doesn't say and I haven't tested. But if groups are being deleted when empty, using 0 might be problematic. At start, the function creates a group and a unit, copies waypoints from the stalker group, then deletes the unit, leaving the empty group holding the waypoints. When stalking ends and endDestination == 0, the waypoints of the empty group are copied back to the stalker group. If empty group has been deleted, wouldn't those waypoints be gone as well? Any endDestination other than 0, it uses addWaypoint and doesn't add any waypoint statements. 1 Share this post Link to post Share on other sites