The problem that Jumpman is having is the way he is coding. He is using wait(); everywhere so the function associated with the ai would pause in that particular frame. I would suggest that you should not use wait unless it is very necessary. Try to multitask your functions. Avoid waits() as these leads to poor programming. There are ways to circumvent it and then you can implement many behavioural types like suggested by others, brain searching for targets, for camouflage, managing health, talking to buddies, etc. Try to think all the tasks a human can handle simaltaneously, yet we have only two parts of brain, one concious, and second sub-concious.


My Specialities Limited.