- Home /
AI Bogging Down Game
Hi thanks for reading my question! I have a pretty simple AI soldier running in my game using a script I made. If he isn't in combat he wanders around to set AI Points. The problem I have is that if I have more than one or two the game fps gets lower and lower. The most I could run would probably be four of the AI. I have a very high end graphics card also. It isn't the model because the game stays fine no matter how many ragdolls I put with the model. So what is bogging down my game? The AI script?
Who knows, but you are in the best situation to figure this out. Put a bunch of AI's in the game. Turn off the script, or add a key command to turn off the script. Does the FPS go up with the script off? If so, you could post your script here and someone can perhaps spot what is taking all the cycles. If you have Pro, you can profile it and likely spot the problem immediately.