Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
So I'm making a game where yo rob a bank and every time there are cops running a script the game will lag and is unplayable I have a good pc and that shouldn't happen any suggestions? |
||||
|
It depends on the script and how you are executing it. Or maybe it is something else in your game. It will be hard to tell, what's happening. are you executing the script on every few seconds? try increasing the time value if that helps. or maybe you can post the exe so that we can try playing and can suggest you, what might be causing the issue. |
||||
|
Here's the exe. https://1drv.ms/u/s!AuQLKai9PEBF... |
||||
|
Hi just tried the exe, thanks for posting it. It seems the issue is with cops, maybe you are using some customised script with them, the game starts to play smooth once all the cop dies, and it will only lag when you get close to the cops where they dies. So it's something that has to do with cops. If you are using the inbuilt AI, make sure to delete the cops when they dies. |
||||
|
Thankyou for trying it I'm running a custom script for the cops. I realized it was running every frame for every cop and so I Thing I've got it fixed. |
|