| 08-20-2005, 04:01 AM | #1 | ||
I'm working on a AoS and this trigger gives freezes the game for half a second. Its not really a big deal but its annoying, anyway I can make it smooth? Quote:
Also this trigger freezes the game alot more than it should, for just a simple move unit trigger. Perhaps moving the unit during a special effect does it? Quote:
|
| 08-20-2005, 05:18 PM | #2 |
The first one: Random unit in unit group is a time intesive function and you call it twice per unit in that other group. The second one: Perhaps there is a trigger that executes when a unit is moved there what is causing the lag? I am betting that Player 12 has a lot of units? |
| 08-20-2005, 08:21 PM | #3 |
Player 11 and 12 both have about 20 productions buildings each which produce a unit about every 25 seconds. The point of the trigger is to tell the units to go fight. |
| 08-20-2005, 11:22 PM | #4 |
For starters you could simply add the units of player 12 a player group variable each time they are trained, and remove them when they die. So you don't have to create a new group everytime |
| 08-23-2005, 06:04 PM | #5 |
I've fixed the lag by adding a trigger that auto picks instead of random. But now the units go back to their traning buildings once they are no longer in range to attack anything(after using a ability/attacking). |
