How do I create intelligent zombies?

Get help using Construct 2

Post » Tue Apr 14, 2015 1:12 am

I would like zombies that not only follow the player, but also break down any walls that the player builds.

Is there an easy way to do this? I am using the moveto behavior/plugin and I am not able to make the zombies do anything except run into walls and attack the player.
B
12
S
2
Posts: 58
Reputation: 785

Post » Tue Apr 14, 2015 2:52 am

It's not that hard, you just need to remember that, for every ability or way you want your zombie to react, you need to break it down and set them up 1 by 1.

So for your example, if you want the zombie to only break the walls for he is chasing the player, use a variable to determine which mode the zombie is in, than set the events in them.

If zombie is chasing player, set variable1 to 1. Than, while variable1 is 1, and zombie on collision with player made wall, wall destroy. You can set it to play any animations at that period too if you want.

Remember that every action you want your zombie to perform, you need to individually define them.
B
41
S
20
G
30
Posts: 681
Reputation: 19,683


Return to How do I....?

Who is online

Users browsing this forum: ankas, Baidu [Spider], iBarin, whitephon, WhosWho and 15 guests