Author Topic: Enemy AI  (Read 303 times)


  • Playmaker Newbie
  • *
  • Posts: 2
    • View Profile
Enemy AI
« on: November 13, 2018, 04:28:44 AM »
Hello, I would like a little bit of guidance/help/advice on creating a simple enemy with AI, something that activates when the player is within a radiance and deals damage when gets too close.

Thank you.
« Last Edit: November 13, 2018, 04:30:28 AM by HasanOnuk »


  • Administrator
  • Hero Member
  • *****
  • Posts: 4695
    • View Profile
    • jinxtergames
Re: Enemy AI
« Reply #1 on: November 13, 2018, 04:40:32 AM »
To know if something is within range you can use colliders and set them as triggers (so you can walk thru the collider)
Then you can use a 'Trigger Event' action and set it to "On Trigger Enter" or "On Trigger Stay"
When something enters you can then do 'damage' to the player.