Uncle
Warcraft Moderator
- Joined
- Aug 10, 2018
- Messages
- 7,866
I like the Shield interaction with the auras and other abilities 
But I've got to be brutally honest, I wouldn't recommend this to anyone in it's current state. The performance is going to be really bad with how it's setup.
Some tips:
1) Creating Unit Groups is expensive, but Adding/Removing single Units to and from a Unit Group is a decent bit better:
3) If Then Else statements have an easy optimization. GOOD:
But that's just me being a stickler, if you had fun making it and it works then feel free to ignore this
But I've got to be brutally honest, I wouldn't recommend this to anyone in it's current state. The performance is going to be really bad with how it's setup.
Some tips:
1) Creating Unit Groups is expensive, but Adding/Removing single Units to and from a Unit Group is a decent bit better:
-
Events
-
Unit - A unit enters map
-
-
Conditions
-
has shields ability = true
-
-
Actions
-
Unit Group - Add (Triggering unit) to ShieldsGroup
-
-
Events
-
Unit - A unit dies
-
-
Conditions
-
has shields ability = true
-
-
Actions
-
Unit Group - Remove (Triggering unit) from ShieldsGroup
-
3) If Then Else statements have an easy optimization. GOOD:
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
1 Less than or equal to 3
-
-
Then - Actions
-
Game - Display to (All players) for 30.00 seconds the text: Efficiency!
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
2 Less than or equal to 3
-
-
Then - Actions
-
Game - Display to (All players) for 30.00 seconds the text: Efficiency!
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
3 Less than or equal to 3
-
-
Then - Actions
-
Game - Display to (All players) for 30.00 seconds the text: Efficiency!
-
-
Else - Actions
-
-
-
-
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
1 Less than or equal to 3
-
-
Then - Actions
-
Game - Display to (All players) for 30.00 seconds the text: NOT Efficient!
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
2 Less than or equal to 3
-
-
Then - Actions
-
Game - Display to (All players) for 30.00 seconds the text: NOT Efficient!
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
3 Less than or equal to 3
-
-
Then - Actions
-
Game - Display to (All players) for 30.00 seconds the text: NOT Efficient!
-
-
Else - Actions
-
-
But that's just me being a stickler, if you had fun making it and it works then feel free to ignore this
Last edited: