- Joined
- Jan 26, 2020
- Messages
- 9
Hello,
I just joined this comunity to ask for your help whive a new map i made.
In this map i have this trigger :
The goal is to summon units whive an other trigger, then order them to attack the player.
So there is 2 problems whive this trigger :
-not all units are taken to the group who is attacking. Some stay on the spawn point and whive some time, create a big bunch of useless units.
-Even when there is a lot of units who move at the same time, the game don't lag. Thanks to the nice leaks topic i read on this forum. But, if another unit come into the spawn point (not a blue one), the game lag a lot, and could even crash.
At first, i though the problem was coming from one of the blue unit in spawn, who have the ability to resurect ally. But even if i removed it, the game lag.
There is also, some blue turrets in the spawn point, i tried to remove them. It cause less lag but its still lagging.
Do you have any idea?
I just joined this comunity to ask for your help whive a new map i made.
In this map i have this trigger :
- attaqueud
- Events
- Unit - A unit enters Chateau ud <gen>
- Conditions
- ((Triggering unit) is in (Units owned by Player 2 (Blue))) Equal to True
- Actions
- Wait 2.00 seconds
- Set tempgroupud = (Units in Chateau ud <gen> owned by Player 2 (Blue))
- Set necropole = (Position of Black Citadel 0001 <gen>)
- Unit Group - Pick every unit in tempgroupud and do (Actions)
- Loop - Actions
- Unit Group - Pick every unit in tempgroupud and do (Unit - Order (Triggering unit) to Attack-Move To necropole)
- Custom script: call DestroyGroup (udg_tempgroupud)
- Custom script: call RemoveLocation (udg_necropole)
The goal is to summon units whive an other trigger, then order them to attack the player.
So there is 2 problems whive this trigger :
-not all units are taken to the group who is attacking. Some stay on the spawn point and whive some time, create a big bunch of useless units.
-Even when there is a lot of units who move at the same time, the game don't lag. Thanks to the nice leaks topic i read on this forum. But, if another unit come into the spawn point (not a blue one), the game lag a lot, and could even crash.
At first, i though the problem was coming from one of the blue unit in spawn, who have the ability to resurect ally. But even if i removed it, the game lag.
There is also, some blue turrets in the spawn point, i tried to remove them. It cause less lag but its still lagging.
Do you have any idea?
Last edited: