i been working on my game for a couple of weeks and im almost done all i need is the enemy script and i fail miserably can someone make a script for me
Thank You
Post something specific that you’re trying to accomplish and people can give you pointers and help you build your script. But don’t expect somebody to just write your AI for you.
Amnesia like ai… so, be mostly blind but respond to noise. Doesn’t sound too bad, but to make any of that work, you’ll first need to introduce a noise system into your game so that certain actions and collisions cause noise. As for the following system, maybe raycast from the monster to the player every 0.1 seconds and store the position of the player in a tracking variable. If you break the line of site, it’ll just run to the last seen position. That’ll make a fairly creepy breadcrumb system. It also shouldn’t be too hard to extent that so you can distract the enemy by throwing stuff that they will see or hear.