HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Easy way to group units and stop lag?

12-14-2003, 04:03 AM#1
Xzarol
Could anyone post how to stop the lag buildup for the create units trigger? Please?
12-14-2003, 02:27 PM#2
COOLer
The action its self creates minual lag if it not dones not create 1200 in a sec. Show me the trigger so i can help more cause right now i see no problem. More then likely its how you have used this action. That or you have a very old computer.
12-14-2003, 03:06 PM#3
Xzarol
My computer is not very old I just want to eliminate lag from the groups and I heard there was a way to do it.

Trigger

Event- Every 60 seconds of game time

Action- Create 3 footman for player one red at location
- Create 2 archers for player one red at location
-Order every unit within Location to location2.

I want to make it so this wont lag as much, because I have 5 spawns coming out of each base.
12-14-2003, 04:08 PM#4
COOLer
Event- Every 60 seconds of game time

is what would cause lag if any but i can see any thing else i could be other triggers that are going off. Do you have alot of Timed events in you map cause is so thats your problem maps with more the 7 of these can case major lag.
12-14-2003, 04:47 PM#5
th15
Cooler, i have a question. Would it help if a unit spawn trigger like the one xzarol has given was changed to look like this instead?

Event-
None (run by another trigger)
Actions-
Create XYZ ### at blah blah
Create Blah ### at XYZ
Order blahXYZ to move to blah
Wait 60 seconds
Trigger- run this trigger
12-14-2003, 04:51 PM#6
COOLer
use polled wait and that would work. B ut dont ever set it to wait .01 or no wait at all beacuse that will cause end less loop and shut down wc3.
12-14-2003, 05:01 PM#7
th15
Err, excuse my ignorance, but what's a polled wait? Is it that "Wait for condition, checking every # seconds" action?
12-14-2003, 05:16 PM#8
COOLer
Its in ums editor next to wait it takes the time of every player and takes the avarge in b net game (stops lag).
12-14-2003, 05:17 PM#9
th15
Thanks for your help COOLer! It would NEVER have occured to me to use that instead.