Hi,

you can use state machines.

You can find an example for AI in a soccer game in the book:
Learning Game AI by Example.

It is written in C++, but it is not that hard to make something similar in Lite-C (if you understand the CODE).

Someone in the Forum has done it, already. Maybe contact him. I think it's more than 1 or 2 years ago.

Bye G.S.


***Neue Webseite!! Mit vielen neuen Infos! http://www.2662-thegame.de.vu***