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)?
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.
Posts: 1,182
Reputation: 6,848

Return to How do I....?

Who is online

Users browsing this forum: Bad Wolf, Google [Bot] and 48 guests