Set path to closest waypoint

Get help using Construct 2

Post » Sat Dec 07, 2013 8:39 pm

right now I'm using the "find path to (waypoint.x,waypoint.y)

What would I use to set it up, to find the path to the waypoint that's the closest currently?
B
4
Posts: 78
Reputation: 606

Post » Sat Dec 07, 2013 10:49 pm

pick nearest waypoint to unit.x, unit.y (it is under the waypoint's events): find path to waypoint.x, waypoint.y
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786


Return to How do I....?

Who is online

Users browsing this forum: marcinkowski and 2 guests