Help with script slowdowns

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Drake Raider
Posts: 474
Joined: Fri Jul 18, 2008 12:27 pm

Help with script slowdowns

Post by Drake Raider »

I was experimenting with some custom AI for mobs and wound up with one of my profiles occasionally causing severe slowdowns. Most of the time, it works correctly. And I can't tell when the slowdowns are occurring. But it's only with actors that use this code as a base. Could someone help me diagnose it?

Spoiler:

Return to “Scripting”