- Joined
- Jul 26, 2011
- Messages
- 12
Hello there and thanks for coming by.
I'm pretty much new to "remove leaks" kind a stuff and don't tell me to read about it in forums because I just did for few hours or so. I'm pretty much stuck at the moment and gave up after trying for a quite while.
So to the point;
When I start my map it lags so much that it's impossible to play.
And since I don't quite understand "leak thing" I would like to do the easy way - by someone demonstrating it on this trigger what needs to be done in order to remove any kinds of leak for what so ever.
Thanks .
I'm pretty much new to "remove leaks" kind a stuff and don't tell me to read about it in forums because I just did for few hours or so. I'm pretty much stuck at the moment and gave up after trying for a quite while.
So to the point;
When I start my map it lags so much that it's impossible to play.
And since I don't quite understand "leak thing" I would like to do the easy way - by someone demonstrating it on this trigger what needs to be done in order to remove any kinds of leak for what so ever.
Thanks .
-
Weaken Loop
-
Events
- Time - Every 0.04 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Weaken[1]) Equal to True
-
Then - Actions
- Unit - Add Weaken (Weaken) 1 to (Picked unit)
-
Else - Actions
- Unit - Remove Weaken (Weaken) 1 from (Picked unit)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Weaken[2]) Equal to True
-
Then - Actions
- Unit - Add Weaken (Weaken) 2 to (Picked unit)
-
Else - Actions
- Unit - Remove Weaken (Weaken) 2 from (Picked unit)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Weaken[3]) Equal to True
-
Then - Actions
- Unit - Add Weaken (Weaken) 3 to (Picked unit)
-
Else - Actions
- Unit - Remove Weaken (Weaken) 3 from (Picked unit)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Weaken[4]) Equal to True
-
Then - Actions
- Unit - Add Weaken (Weaken) 4 to (Picked unit)
-
Else - Actions
- Unit - Remove Weaken (Weaken) 4 from (Picked unit)
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Picked unit) has buff Weaken[5]) Equal to True
-
Then - Actions
- Unit - Add Weaken (Weaken) 5 to (Picked unit)
-
Else - Actions
- Unit - Remove Weaken (Weaken) 5 from (Picked unit)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Events
-
Weaken Buff Array
-
Events
- Map initialization
- Conditions
-
Actions
- Set Weaken[1] = Weaken [Level 1]
- Set Weaken[2] = Weaken [Level 2]
- Set Weaken[3] = Weaken [Level 3]
- Set Weaken[4] = Weaken [Level 4]
- Set Weaken[5] = Weaken [Level 5]
-
Events
Last edited by a moderator: