- Home /
Enemy Proximity Script
Hey I'm wanting to make a script where whenever you get within Range1, the enemy will look at and follow you. Then, whenever you get within Range2, they will fire at you. Ive tried a few different methods but I couldn't get it to work. Does anyone know of a script that will allow me to do this? Essentially id like it to be like TornadoTwins' Smart Turret Script but with an added "move towards the player" effect.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613063339im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Making a bubble level (not a game but work tool) 1 Answer
How can I animate an object to my proximity and movement? 1 Answer
Adding directional force to Parent using the direction of the child 0 Answers
make enemy chase player in topdown 2d 2 Answers