As i say, i have a problem with a trigger...both triggers does not turn on (enemy wave 1 and order wave to atack). Why? I have other triggers like this one and some of them works, some doesn't, and if i put trigger - run trigger checking/ignoring conditions it works.
-
Events
-
Time - Elapsed game time is 1.00 seconds
-
-
Conditions
-
Actions
-
For each (Integer A) from 1 to (nr_hero - 1), do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(labirint <gen> contains hero[(Integer A)]) Equal to True
-
-
Then - Actions
-
Unit Group - Add hero[(Integer A)] to grup_regiune[1]
-
Set alege_regiune[alege_regiune_integer] = (alege_regiune[alege_regiune_integer] + 1)
-
-
Else - Actions
-
-
-
-
Set alege_regiune_integer = (alege_regiune_integer + 1)
-
For each (Integer A) from 1 to (nr_hero - 1), do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(pod <gen> contains hero[(Integer A)]) Equal to True
-
-
Then - Actions
-
Unit Group - Add hero[(Integer A)] to grup_regiune[2]
-
Set alege_regiune[alege_regiune_integer] = (alege_regiune[alege_regiune_integer] + 1)
-
-
Else - Actions
-
-
-
-
Set alege_regiune_integer = (alege_regiune_integer + 1)
-
For each (Integer A) from 1 to (nr_hero - 1), do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(sant cu apa <gen> contains hero[(Integer A)]) Equal to True
-
-
Then - Actions
-
Unit Group - Add hero[(Integer A)] to grup_regiune[3]
-
Set alege_regiune[alege_regiune_integer] = (alege_regiune[alege_regiune_integer] + 1)
-
-
Else - Actions
-
-
-
-
Set alege_regiune_integer = (alege_regiune_integer + 1)
-
For each (Integer A) from 1 to (nr_hero - 1), do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(sant fara apa <gen> contains hero[(Integer A)]) Equal to True
-
-
Then - Actions
-
Unit Group - Add hero[(Integer A)] to grup_regiune[4]
-
Set alege_regiune[alege_regiune_integer] = (alege_regiune[alege_regiune_integer] + 1)
-
-
Else - Actions
-
-
-
-
Set alege_regiune_integer = (alege_regiune_integer + 1)
-
For each (Integer A) from 1 to (nr_hero - 1), do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(deasuprea sant fara apa <gen> contains hero[(Integer A)]) Equal to True
-
-
Then - Actions
-
Unit Group - Add hero[(Integer A)] to grup_regiune[5]
-
Set alege_regiune[alege_regiune_integer] = (alege_regiune[alege_regiune_integer] + 1)
-
-
Else - Actions
-
-
-
-
Set alege_regiune_integer = (Max(alege_regiune[1], (Max(alege_regiune[2], (Max(alege_regiune[3], (Max(alege_regiune[4], alege_regiune[5]))))))))
-
Trigger - Turn on enemy wave 1 <gen>
-
Wait 2.00 seconds
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
alege_regiune_integer Equal to 1
-
-
Then - Actions
-
Set unit_atack = (Random unit from grup_regiune[1])
-
Set position_x_unit_to_atack = (Position of unit_atack)
-
Set grup_regiune_integer = 1
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
alege_regiune_integer Equal to 2
-
-
Then - Actions
-
Set unit_atack = (Random unit from grup_regiune[2])
-
Set position_x_unit_to_atack = (Position of unit_atack)
-
Set grup_regiune_integer = 2
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
alege_regiune_integer Equal to 3
-
-
Then - Actions
-
Set unit_atack = (Random unit from grup_regiune[3])
-
Set position_x_unit_to_atack = (Position of unit_atack)
-
Set grup_regiune_integer = 3
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
alege_regiune_integer Equal to 4
-
-
Then - Actions
-
Set unit_atack = (Random unit from grup_regiune[4])
-
Set position_x_unit_to_atack = (Position of unit_atack)
-
Set grup_regiune_integer = 4
-
-
Else - Actions
-
-
Trigger - Turn on order wave to atack <gen>
-
Last edited: