Mastering AI (top down zombie)

Get help using Construct 2

Post » Tue Sep 24, 2013 5:28 am

Mastering AI is the hardest thing for me.

- I have a building in the middle of the map.
- I want the horde of zombies to know I am in the building, but they're not sure where in the building I am. (this is to prevent zombies going up and down when I move around on the inside of the building)
- I need them to scout around the building with some attacking the doors and some attacking walls and some wandering some more.

How do I make AI with pathfinding walk around the building and try to find a way in?
B
60
S
19
G
3
Posts: 451
Reputation: 6,364

Post » Tue Sep 24, 2013 9:17 am

Give different zombie types different 'jobs' or destinations, or possibly 'states' if you want all zombies to do all actions. Then assign some with destination of the door, some with the player as the destination and some with random destination. Set the building as a solid obstacle so that they will try to find a path around it to reach their given destination.
B
47
S
18
G
84
Posts: 2,271
Reputation: 49,796


Return to How do I....?

Who is online

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