HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Moving Triggers

06-15-2004, 06:33 PM#1
ChaosWolfs
For my map, I have a lag problem. It happens when people summon units. It is making 100s of triggers. I know a way to fix the summoning, but I need a good way to fix pathing.


Right now the the trigger is based on this

E: Unit Enters T1
C: Entering Unit equal to Player 11. (Dark Green)
A: Order Entering unit to Attack-Move to T2.
A: Pick every unit in T1A owned by Player 11 and order picked unit to attack move to T2.

I believe this is one of the triggers causing lag when the units are made. Anyone know a good movement trigger that is lagfree.

Thanks a lot. If no one respones, gonna go with a time trigger, but i had problems with it in the past.
06-15-2004, 11:14 PM#2
Deathperception
There is no lag proof way to move a unit since Blizzard didn't add that functionality specificly or only added it for a unit to move between 1 or 2 regions. I would prefer if Blizzard made a motion guide like in Flash where you draw a line and the unit or in Flash animation follows it.

People are just using the method you described because its the only way. The reason its causing lag is because of all the resources needed to complete each step between regions for example the computer must be constantly checking (if you used X seconds of game time) as your event for when the unit or units are in region then check if its a member of a certain player color then move the unit to the next region this occuring often is the reason for the lag.

My advice is to destroy as many triggers that are unused or that get used in your game as you can and that should free up some lag and maybe you can limit as to how many seconds of game time your events need like instead of 1 second which obviously would be a strain change it to 3 or 5 seconds and free up some resources even if its for a couple seconds every bit counts. Also read some of the lag guides on the forums :D .