I need two things. The first is that i need a way for zombis to not run into walls when they are attaking so an ai and a way of having an inventory. I dont want sripts but just ideas please, thanks for the help
Look into A* AI. The way it works is by either generating, or you placing, a grid of nodes, with no nodes going inside obstacles, so then the AI generates a line through the nodes to the character.
Not sure about inventory.
Inventory is quite easy.
You just make a custom inventory_item class, which stores what the object is and what it does.
Then make a List of inventory_item’s and store all your objects in there.
You can use that List to gather data from, or add, and do whatever you need with it (display an array of images to “show” what you have, remove object from the list if used, etc etc)