Im making a dungeon crawler with different enemies. I have one that chases the player and that works no problem but I struggle with making an enemy chase the player and then when they get close to attack them. Ive looked at different tutorials but nothing is working. Here is my code to see if I made any issues. Sorry for the small screen shot Im new and can only do one.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
(Urgent) Coding an enemy's behaviour | 0 | 181 | May 25, 2024 | |
Enemy AI attack script | 1 | 2729 | October 25, 2016 | |
Enemy script | 2 | 451 | July 24, 2023 | |
Enemy AI running past player before chasing | 0 | 134 | June 7, 2024 | |
How To Make Enemy Chase You? | 1 | 1065 | September 4, 2013 |