playMaker

Author Topic: 2D enemy target lock  (Read 913 times)

KnightNight

  • Playmaker Newbie
  • *
  • Posts: 1
2D enemy target lock
« on: March 29, 2023, 01:43:47 PM »
Alright so im working on a combat system and cant seem to figure out how to do what i want.

let me explain:
right now i have 1 player with movement and  1 enemy that does not move.
what im trying to do it set up a enemy select and then when i move close to the enemy my character starts attacking.

basicly i want to be able to lock onto a enemy and keep attacking it without having to press the mouse button again to select or attack?

im really new at this so please explain it in a newbie way thanks :slight_smile:

i want to be able to select  by clicking once which enemy i kill first if i have multiple around me. 

i do not want to have to reclick each time to hit.

a tutorial would be nice if not maybe a explanation on how to get this working.