Hi, i posted a question around a week ago about enemy AI. Basically i wanted enemy to go towards me ( when I am left of him he goes left, when I am right of him he goes right, and when close enough he attacks me)
Well I did it like this
System/player.X<enemy.X/enemy stimulate platform pressing Left/
and vice versa.
It works only if there is one enemy (of the same kind) but when there is more then they all go right or lefthttp://www.scirra.com//forum/smileys/smiley19.gif.
Now my question is could i make that event for every enemy individually (without making enemy1,enemy2,enemy3 etc.)
Or is there a better way ?
If possible i would like capx but not necessarly of course.
Thank you in advance.