Traveling to the farthest/nearest version of an instance.

Get help using Construct 2

Post » Tue Feb 10, 2015 3:31 am

I want to create a sort of "waypoint" system for an enemy to path to. Is there any way using Line of sight for it to know to travel to the furthest instance of an object (or nearest if I decide to do that also)?
B
4
Posts: 78
Reputation: 606

Post » Tue Feb 10, 2015 4:09 am

LOS might not be the best way to do it, as you would have to set up something to block the sight. However if you are using sprites as waypoints, you could give them a number through a variable and in your enemies you make a variable as well that keep track of where it should go next. That way you can just place the waypoints where you want and they should follow them.
B
43
S
11
G
2
Posts: 1,175
Reputation: 6,744


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests