"Way Points patrool and wait for seconds" Please Help me.

Hi guys

First of all, sorry for my english.

My problem;

I am a beginner coder.

There is something I want to do in my project.

My character will patrol the way point.

While going to each point, it will turn its direction to that direction.

At each point, it will wait for the time I set.

There are at least 30 points on the way.

When it reaches the last point, it will wait here for 5 seconds and continue from the second point.

hey! since i dont really see a question, i’m going to assume you are looking for pointers on how to make this work with a script.
I could write the script for you, but instead i’m going to just give you some pointers:

Try and work through this, keep the Unity docs closeby, and if you have any specific problems we are here to help :slight_smile:

1 Like

8173955–1063940–WaypointsTraveler.cs (13.1 KB)

Hello again

I wrote the code as in the file I attached
But I still have an ongoing problem,
My script works fine
Waypoint index waits at last point,
It stays there, I don’t want it, please wait here for a few minutes and continue from where it left off.