Enemy AI

Skeleton Bro

  • Posts: 1
I would like to have an enemy that I have created follow the player once it gets within a specif distance. however I am struggling to find anything on this and would really appreciate it if anyone could help.

LIBERADO

  • *
  • Posts: 2718
To get the specific distance between two actors, you can use the wonderful, excellent, magnificent and impressive EasyMath extension: http://community.stencyl.com/index.php/topic,27769.0.html

I use it a lot.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.