AdrianeMapMaker
8 years ago
Um i want to improved the performance by fixing the ai scripts

a man tell me to get the scripts check for seconds not check per frame
-is this will gonna improved the performance ?


need a tip pls
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Sponsor
i^love^mixery
8 years ago
You have to be more specific.

You can't just change a bunch of scripts to "once per second" and expect the whole map to still work. Some conditions only work with "once per frame". Most frame counter scripts for example.
Unknown Editor
8 years ago
Just try to replace some scripts which will take most of map's performance ...

1. Hunt { if enemy is far away , you know the deal with your performance }

I've used 5 scripts for paths , attack in areas , hunt at the time , etc ... instead of only hunt , and it now carries 100% less lag .

2. Try minimizing when ever you can { minimize your scripts when you can do it by 2 scripts instead of 3-10 scripts }

3. Some other that game engine can not support easily 😁
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%