# Fighting game AI

**URL:** <https://forum.kirupa.com/t/fighting-game-ai/208107>\
**Category:** programming\
**Created:** [November 24, 2006, 11:59pm UTC](https://forum.kirupa.com/t/fighting-game-ai/208107 "2006-11-24T23:59:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miked](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Miked](https://forum.kirupa.com/u/Miked)\
**Post date:** [November 24, 2006, 11:59pm UTC](https://forum.kirupa.com/t/fighting-game-ai/208107/1 "2006-11-24T23:59:17Z")

</div>

i need help with enemies walking toward a character when he gets a certain distance and random enemies,then attack the main character then health goes down,  
and i need it when i attack the enemie he dies,
