Showing posts with label AI. Show all posts
Showing posts with label AI. Show all posts

Monday, 21 January 2013

[GM] My first AI

I'm happy and proud because I did my first AI ! and I did it without help~ (for now...U teehee).

However, I have problems with the easiest function, lol.

GMZ file: http://rghost.net/43213252


I have basically two problems:
  • I tried to script a "automatic depth" (according to "y edge") but objets superimpose badly yet :S
  • I need two men follow to player, atack him and, when his life was 0, leave the room. I got "follow" and "atack" actions but I didn't get to "reduce life to 0" :S And sometimes (mainly when I put only a man on the room), men do odd movements and try "run away" (I programmed a coward AI, lol).