Halo_king116
Working As Intended
- Reaction score
- 153
Hello all, once again.
Basically, since I cannot find an answer to the problem I am having with the Doodad Limit for WotE, I have been forced to move onto another map.
Since I am a bit rusty, I had to look through the Leak Tutorials once again to find out how to remove Point leaks. And, I did everything as I normally would for removing the leak properly. As far as I can tell, theres nothing wrong with it. But, the WE shows an error message for the trigger that states "Expected Endif". Below is a copy of the simple trigger and below that is a picture of the error.
Thanks in advanced!
Have a nice day! I really hope someone can help.
Basically, since I cannot find an answer to the problem I am having with the Doodad Limit for WotE, I have been forced to move onto another map.
Since I am a bit rusty, I had to look through the Leak Tutorials once again to find out how to remove Point leaks. And, I did everything as I normally would for removing the leak properly. As far as I can tell, theres nothing wrong with it. But, the WE shows an error message for the trigger that states "Expected Endif". Below is a copy of the simple trigger and below that is a picture of the error.
Thanks in advanced!
Code:
God To Players1
Events
Unit - A unit enters God to Blue <gen>
Conditions
(Unit-type of (Triggering unit)) Not equal to God's Little Helper
(Unit-type of (Triggering unit)) Not equal to Angel
(Unit-type of (Triggering unit)) Not equal to God
(Unit-type of (Triggering unit)) Not equal to Satan
(Unit-type of (Triggering unit)) Not equal to Gods Evil Builder (Fast Build)
(Unit-type of (Triggering unit)) Not equal to Another Builder (Male)
(Unit-type of (Triggering unit)) Not equal to Minion (Possessed)
(Unit-type of (Triggering unit)) Not equal to Heaven's Guard
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Triggering unit) is A Hero) Equal to True
Then - Actions
Unit - Change ownership of (Entering unit) to Player 2 (Blue) and Change color
Set Vari = (Center of Blue Receive <gen>)
Unit - Move (Entering unit) instantly to Vari
Custom script: Call RemoveLocation (udg_Vari)
Else - Actions
Set Vari = (Center of Blue Receive <gen>)
Unit - Create 1 (Unit-type of (Entering unit)) for Player 2 (Blue) at Vari facing Default building facing (270.0) degrees
Custom script: Call RemoveLocation (udg_Vari)
Unit - Remove (Entering unit) from the game
Have a nice day! I really hope someone can help.