Well, i must be blind, couse i cant see whats wrong with this trigger:
The problem is when there is 1 minut remaining, it just goes to 10 min again..
thanks..
SOLVED
Finished trigger:
Code:
Time Next Attack
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set Time_Attack_Sec = (Time_Attack_Sec - 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time_Attack_Sec Equal to 0
Then - Actions
Set Time_Attack_Sec = 60
Set Time_Attack_Min = (Time_Attack_Min - 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time_Attack_Min Equal to 0
Then - Actions
Set Time_Attack_Min = 9
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time_Attack_Sec Less than 10
Then - Actions
Set Time_Attack_str_Sec = (0 + (String(Time_Attack_Sec)))
Else - Actions
Set Time_Attack_str_Sec = (String(Time_Attack_Sec))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time_Attack_Min Less than 10
Then - Actions
Set Time_Attack_str_Min = (0 + (String(Time_Attack_Min)))
Else - Actions
Set Time_Attack_str_Min = (String(Time_Attack_Min))
Multiboard - Set the text for Multiboard item in column 2, row 2 to (|cffffcc00 + (Time_Attack_str_Min + (: + (Time_Attack_str_Sec + |r))))
The problem is when there is 1 minut remaining, it just goes to 10 min again..
thanks..
SOLVED
Finished trigger:
Code:
Time Next Attack
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set Time_Attack_Sec = (Time_Attack_Sec - 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time_Attack_Min Equal to 0
Time_Attack_Sec Equal to 0
Then - Actions
Set Time_Attack_Min = 9
Set Time_Attack_Sec = 60
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time_Attack_Sec Equal to 0
Then - Actions
Set Time_Attack_Sec = 60
Set Time_Attack_Min = (Time_Attack_Min - 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time_Attack_Sec Less than 10
Then - Actions
Set Time_Attack_str_Sec = (0 + (String(Time_Attack_Sec)))
Else - Actions
Set Time_Attack_str_Sec = (String(Time_Attack_Sec))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Time_Attack_Min Less than 10
Then - Actions
Set Time_Attack_str_Min = (0 + (String(Time_Attack_Min)))
Else - Actions
Set Time_Attack_str_Min = (String(Time_Attack_Min))
Multiboard - Set the text for Multiboard item in column 2, row 2 to (|cffffcc00 + (Time_Attack_str_Min + (: + (Time_Attack_str_Sec + |r))))