Is it possible use the path finding service and make it so when a player shoots at the NPC the NPC will get to the closest piece of cover it can find and hide behind it and wait until it has a chance to shoot back? I've been searching for this answer for ages and my last conclusion was scripting helpers.
An Example:
Lets say, your doing a mission going down a "Space Ship" and you spot an enemy and they spot you to, the first thing I want to make that enemy do is get to cover and find the right times to shoot back at that player.

1 comment
I'm fairly new to the Path Finding System, I'm originally a C# programmer that has moved to Lua. I'm still trying to work out things with Lua, its fairly different and I sometimes import c# mechanics in Lua and its quite annoying.Like namespace and crap (I will seen learn to stop that).