AI Guard walking a path
by Jordon Davis · in Technical Issues · 03/26/2010 (11:15 am) · 0 replies
Hello out there,
I'll cut right to the chase. I am designing a level in Starter FPS and I am trying to get guards to spawn into the mission and fallow a certain path until the player enters their area of detection. I have code for a standing guard that works as well as working code for a bot that fallows a path. The problem lies in trying to combine the two. I have a feeling that I may need to add an IF statement to tell the bot to stop fallowing the path and start shooting. I am just very confused about where to place the proper statement or how to word it.
I'll cut right to the chase. I am designing a level in Starter FPS and I am trying to get guards to spawn into the mission and fallow a certain path until the player enters their area of detection. I have code for a standing guard that works as well as working code for a bot that fallows a path. The problem lies in trying to combine the two. I have a feeling that I may need to add an IF statement to tell the bot to stop fallowing the path and start shooting. I am just very confused about where to place the proper statement or how to word it.