Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would you create a smart zombie?

The title says it all I need your ideas on how to create a pathfinding zombies

2 comments

0

Scripting helpers is a site where we fix and give feedback on your scripts. Its not a request site. Thus, we cant help.

0

He said HOW to make, he's not requesting about the script, you misunderstood.

1 answer

Creating a pathfinding zombie is quite simple, what I do is add a configuration folder inside the zombie and one AI script, inside the config folder is a bunch of values, range, damage, etc., etc.

Damage determines the damage the zombie does Range determines where the zombie can see you

What I do is use raycasting to the zombie for range to see for example: the zombie doesn't see you through a wall.

I don't know if you know all this stuff since this is advanced coding knowledge.

How the zombie finds you: The AI get's the raycasting range and makes it follow the character that they see.

This is how you do pathfinding.

This discussion is preserved as it was. New answers, comments, and votes are closed.