Fuin
New Member
- Reaction score
- 0
This is my trigger for sending players units, it usually send more then 70 units even 150
So the question is: Does it leak? If yes where and how remove it, also i have a one problem with it. When I use it to send 12-24 units it's just fine, but when it comes to 100 or more (and it's usually used for that) units move like... don't know how to describe it well they're moving like on laggs few of them go first and then next few, the biggest problem during this is that you don't have control on units, ofc you can click one and order it to go elsewhere but before this unit will move where you ordered there is like 5-10 sec while it's just staying and doing nothing, so trying to rescue a hero for example is impossible. Is there any way to prevent this or every trigger will cause those situations.
I'm sorry for my english I hope you will understand what i mean, if not i may try to describe it once again.
Trigger:
- Mass Red
- Events
- Unit - A unit enters Red Mass <gen>
- Conditions
- (Owner of (Entering unit)) Equal to Player 1 (Red)
- (Unit-type of (Entering unit)) Equal to Mass Sender
- Actions
- Set Red = (Units in Mapa <gen> owned by Player 1 (Red))
- Set cel_footmenow = (Center of Cel Footmenow <gen>)
- Set wisp = (Center of Red Wisp <gen>)
- Unit - Kill (Entering unit)
- Unit - Create 1 Mass Sender for Player 1 (Red) at wisp facing Default building facing degrees
- Unit Group - Pick every unit in Red and do (Unit - Order (Picked unit) to Attack-Move To cel_footmenow)
- Custom script: call RemoveLocation(udg_cel_footmenow)
- Custom script: call RemoveLocation(udg_wisp)
- Events
So the question is: Does it leak? If yes where and how remove it, also i have a one problem with it. When I use it to send 12-24 units it's just fine, but when it comes to 100 or more (and it's usually used for that) units move like... don't know how to describe it well they're moving like on laggs few of them go first and then next few, the biggest problem during this is that you don't have control on units, ofc you can click one and order it to go elsewhere but before this unit will move where you ordered there is like 5-10 sec while it's just staying and doing nothing, so trying to rescue a hero for example is impossible. Is there any way to prevent this or every trigger will cause those situations.
I'm sorry for my english I hope you will understand what i mean, if not i may try to describe it once again.