So, i've encountered a problem, i am not aware which is wrong or right?
I have 2 unit groups (variables) (horde and alliance) and i have to use it very often, so i am not aware if i should destroy it or what.
Will it leak if i don't?
Will it work if i do?
(Triggers)
I have 2 unit groups (variables) (horde and alliance) and i have to use it very often, so i am not aware if i should destroy it or what.
Will it leak if i don't?
Will it work if i do?
(Triggers)
-
Choose Paladin
-
Events
-
Unit - A unit enters Paladin choose <gen>
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Peasant
-
-
Actions
-
Player Group - Add (Owner of (Triggering unit)) to Alliance
-
Unit - Create 1 Paladin for (Owner of (Triggering unit)) at (Center of Spawn <gen>) facing 180.00 degrees
-
Unit - Kill (Triggering unit)
-
-
-
Travel
-
Events
-
Unit - A unit comes within 256.00 of Sorceress 0002 <gen>
-
-
Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Triggering unit)) is in Alliance) Equal to True
-
-
Then - Actions
-
-------- ALL MY TRIGGERS --------
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Triggering unit)) is in Horde) Equal to True
-
-
Then - Actions
-
-------- ALL MY TRIGGERS --------
-
-
Else - Actions
-
-
-
-
-