Question: How to make an AI open fire on a friendly unit when a trigger is activated?
More Details:
Hey, I've been thinking about something like this:
You know how Soviet officers would kill other Soviet soldiers in WWII if they were to abandon the mission???
I want to do something like that, like if you do something that's not appreciated by an officer (like running into the woods) he would shoot & kill you.
I place a trigger in the woods that would detect the player, then I sync it with a waypoint that tells an officer to "DESTROY" him. but when the trigger is activated, the officer just runs towards the player and starts running around him instead of actually shooting him.
Is it possible to put a certain script in the "Script" field of the waypoint that would tell the AI to shoot the unit disregarding it's side???