How to add Enemy AI in BGE - Part 4: taking cover, adding player and melee attack @ThaTimster
How to add Enemy AI in BGE - Part 4: taking cover, adding player and melee attack  @ThaTimster
Uploaded June 2014 | Updated November 2026, 11 hours ago
This is the 4th part in the how to add Enemy AI in BGE series, if you have not watched the previous parts it is recommended you do.

In this video we use our navigation mesh generated in the previous episode to get our enemy to run behind cover, once he is behind cover he ducks down, then stands up and attacks. We also use his running animations for this, and make a start on state 5 with his melee animation. Also we add our player, with a 3rd person camera so we can see the environment around us.

The script used in this video was originally created by MrLarodos, you can check out his channel here: youtube.com/user/MrLarodos

Likes, comments and shares are greatly appreciated :D

Download links:
tracking Script: download1503.mediafire.com/k0sddn0ycvng/d3dt13i5s0u78kg/enemytrack.txt
Mouselook: download1386.mediafire.com/1uv9mxn55k5g/8it9aelkyaym189/Mouselook.py.txt
Starting .blend: download1692.mediafire.com/ryo1ngycu36g/br3hd5ru2bk0a5g/finishedEnemyAI+part+3.blend
Finished .blend: download1350.mediafire.com/z7pn6849ri6g/5fh58dhtpvkjf37/finishedEnemyAI+part+4.blend

Stay Inspired!
How to add Enemy AI in BGE - Part 4: taking cover, adding player and melee attackHow to bake normal maps for BGEReal-time Reflections Blender Game EngineBGE Logo Intro - Free DownloadHow to make a Blurred Pause Menu in BGEWISP Fire Shader DemoAnimation in the Blender Game EngineSci-Fi 2D Scroller .blend FreebieASTEROIDS in Blender Node Editor ???How to add Camera Bobbing to an FPS setupPost Process Addon v1.5 - UPBGE support, fixes, dynamic controlHow to create a Circular Timer / Progress Bar
ThaTimster |

How to add Enemy AI in BGE - Part 4: taking cover, adding player and melee attack

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER