Heh!
Cool!
Thanks for the info on copying triggers!!!
A question about the 'do nothing' command. What do you put after the 'else' line if not 'do nothing'? I assume you don't leave it blank. Wouldn't there need to be some data after the 'else' for the If-then statement to compile?
-Miz
ps. I'm testing the trigger tag thingy!!!!! Disregard below.
[trigger:1:95da17554e]
End Melee
Events
Unit - A unit enters Melee Train Copy 3 <gen>
Unit - A unit enters Melee Train Copy 5 <gen>
Unit - A unit enters Melee Train Copy 7 <gen>
Unit - A unit enters Melee Train Copy 9 <gen>
Unit - A unit enters Melee Train Copy 4 <gen>
Unit - A unit enters Melee Train Copy 6 <gen>
Unit - A unit enters Melee Train Copy 8 <gen>
Unit - A unit enters Melee Train Copy 10 <gen>
Conditions
Actions
Set p = (Player number of (Owner of (Triggering unit)))
Set n = 1
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in Array_current_trainers) Greater than or equal to 12
(Custom value of (Triggering unit)) Not equal to 100
Then - Actions
Unit - Move (Triggering unit) instantly to (Center of Array_Train_Default_moveto)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Custom value of (Triggering unit)) Equal to 100
Then - Actions
Unit Group - Remove (Triggering unit) from Array_Train_me[n]
Unit Group - Remove (Triggering unit) from Array_current_trainers
Unit - Set the custom value of (Triggering unit) to 0
Unit - Set mana of (Triggering unit) to 100.00%
Unit - Move (Triggering unit) instantly to (Center of Array_Train_Default_moveto)
Else - Actions
Do nothing[/trigger:1:95da17554e]