- Home /
Question by
crasyboy42 · Jul 08, 2010 at 11:11 AM ·
enemyrpglockon
lock ontro enemy
can sombody help me with locking ontro a enemy
I am with a team to make an rpg but we have a problem We need to select an enemy, but how can we do That can you help us
Comment
Answer by Persona · Jul 30, 2010 at 05:02 AM
Your best bet is probably to have a trigger or raycast that will check if it's an enemy in the area. From there you'd set the enemy as the target once they enter the area.
Your answer
![](https://koobas.hobune.stream/wayback/20220613064135im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Locking onto Multiple AI's 1 Answer
Enemy LockOn and Shoot 0 Answers
enemy follow player 2d sidescroller rpg 0 Answers
Turret Lock On 1 Answer
Enemy AI/Battle system 1 Answer