Hello there!
I am working on a shooting range mission and I have a unit that is following a waypoint.
When I kill the unit I have a trigger to resurrect it, which works fine. However the unit does not refollow its waypoints after resurrection.
I found the action “unitFollowWaypoints” but I cannot get it to work! The unit does not refollow its waypoints once its been killed and resurrected.
Any ideas how I can get this to work?
Thank you very much!
As far as I remember, you should create a path for this unit. I mean, first you should select a unit and then create waypoints for it, so these waypoints should be assigned only to this unit.
If you create unassigned waypoints, then unit will not follow them after resurection. I had the same problem.
Another way to solve this problem is to use zones. If the number of waypoints is not so big, then place zones instead and use UnitMoveTo action.
The disatvantage of waypoints is that vehicle can “float” in air of sucked into the ground.
If you use waypoints that already exist on the map you can do the following - after resurection of respawn create action UnitMoveTo and select a zone which is located at the final destination.
In moveType select use_splines option.
Spoiler
Thanks a lot for your help! I really appreciate it!
I tried to apply your solutions but either I did something wrong or it didnt work.
Heres my current setup:
I have a Tank_Target_01 that has the waypoints way_points_Tank_Target_01 assigned to it.
I have a trigger that has a unitFollowWaypoints action assigned to it. I tested all cominations of followWaypoints/resetWaypoints with it with no success.
Here is how the way_points_Tank_Target_01 looks like:


Now I tried to apply your suggested solution and created a Sphere Zone called ZONE_Destination. I then created a new unitMoveTo action as follows:
But the Tank_Target_01 would not move.
It does not since the map does not contain splines preliminary created by Gaijin.
Look at my screenshot. Do you see these blue lines with blue spheres?
Looks like it does not work with manually created waypoints, but only with existing splines.