in this tutorial you find out how to create behavior tree and set behavior parameters.

to see complete example download Tutorials package at "Downloads" page.

I tried to keep example as simple as possible, so this is not a game just an example. the enemies just cover behind some shelters and fire and sometims change shelters.
you can change difficulty of game by selecting 'AI' node in scene and change difficulty in inspector.

Easy       : one enemy can fire at a time
Normal  : two enemy can fire at a time
Hard      : two enemy can fire at a time and when player is firing, enemies cover behind shelter.

please let me know about your idea.



Last edited Jul 14, 2012 at 7:38 PM by Hamed_1984, version 2