How do I make a Object to find path.

Get help using Construct 2

Post » Fri Sep 18, 2015 2:01 pm

how we can make this "Enemy" to fiind next path and when arrived to E --->action .. destroy

Image
B
17
S
7
G
7
Posts: 205
Reputation: 5,335

Post » Fri Sep 18, 2015 2:09 pm

You could use pathfinding with an instance variable to check the order to follow
Image Image
B
25
S
14
G
136
Posts: 876
Reputation: 71,005

Post » Fri Sep 18, 2015 2:26 pm

ex?
Last edited by CBelle on Fri Sep 18, 2015 2:27 pm, edited 1 time in total.
B
17
S
7
G
7
Posts: 205
Reputation: 5,335

Post » Fri Sep 18, 2015 2:26 pm

MadSpy wrote:You could use pathfinding with an instance variable to check the order to follow

example? i cant find it
B
17
S
7
G
7
Posts: 205
Reputation: 5,335

Post » Fri Sep 18, 2015 2:33 pm

you can't find pathfinding?
Image Image
B
25
S
14
G
136
Posts: 876
Reputation: 71,005

Post » Fri Sep 18, 2015 3:46 pm

MadSpy wrote:you can't find pathfinding?



pathifinding is behavior.. how to use pathfinding with an instance variable to check the order to follow??
B
17
S
7
G
7
Posts: 205
Reputation: 5,335

Post » Fri Sep 18, 2015 4:58 pm

MadSpy wrote:you can't find pathfinding?


Image


not work if you mean this ? his go to A6
B
17
S
7
G
7
Posts: 205
Reputation: 5,335

Post » Fri Sep 18, 2015 5:42 pm

ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494

Post » Fri Sep 18, 2015 7:04 pm

blackhornet wrote:http://www.blackhornettechnologies.com/Construct2Stuff/SequentialPathfinding.capx




this work perfect..

but how make it if i need this when spawned ? i dont need it on start layout.. i want to make wave's
B
17
S
7
G
7
Posts: 205
Reputation: 5,335

Post » Fri Sep 18, 2015 8:31 pm

You'll need to keep track of your current ID (in a global for example), and assign the value on Spawn.
ImageImageImage
B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494

Next

Return to How do I....?

Who is online

Users browsing this forum: richcoz81 and 39 guests