Staredit Network > Forums > SC2 Assistance > Topic: Problem with an action?
Problem with an action?
May 28 2010, 10:41 am
By: ZeroAme  

May 28 2010, 10:41 am ZeroAme Post #1



Im getting a red dot on an action in this trigger I made but I don't see anything wrong with it. Can any of you guys see what might not be working in this or why it says it wont work?

Code
       General - If (Conditions) then do (Actions) else do (Actions)
           If
               (Chance count for 1, counting Complete) == 1
           Then
               Variable - Set Quality[0] = 100
           Else
               General - If (Conditions) then do (Actions) else do (Actions)
                   If
                       (Chance count for 1, counting Complete) == 2
                   Then
                       Variable - Set Quality[0] = 70
                       Variable - Set Quality[1] = 30
                   Else
                       General - If (Conditions) then do (Actions) else do (Actions)
                           If
                               (Chance count for 1, counting Complete) == 3
                           Then
                               Variable - Set Quality[0] = 60
                               Variable - Set Quality[1] = 30
                               Variable - Set Quality[2] = 10
                           Else
                               General - If (Conditions) then do (Actions) else do (Actions)
                                   If
                                       (Chance count for 1, counting Complete) == 4
                                   Then
                                       Variable - Set Quality[0] = 50
                                       Variable - Set Quality[1] = 30
                                       Variable - Set Quality[2] = 20
                                   Else
                                       General - If (Conditions) then do (Actions) else do (Actions)
                                           If
                                               (Chance count for 1, counting Complete) == 5
                                           Then
                                               Variable - Set Quality[0] = 40
                                               Variable - Set Quality[1] = 30
                                               Variable - Set Quality[2] = 20
                                               Variable - Set Quality[3] = 10
                                           Else
                                               General - If (Conditions) then do (Actions) else do (Actions)
                                                   If
                                                       (Chance count for 1, counting Complete) == 6
                                                   Then
                                                       Variable - Set Quality[0] = 30
                                                       Variable - Set Quality[1] = 30
                                                       Variable - Set Quality[2] = 30
                                                       Variable - Set Quality[3] = 10
                                                   Else
                                                       General - If (Conditions) then do (Actions) else do (Actions)
                                                           If
                                                               (Chance count for 1, counting Complete) == 7
                                                           Then
                                                               Variable - Set Quality[0] = 20
                                                               Variable - Set Quality[1] = 30
                                                               Variable - Set Quality[2] = 30
                                                               Variable - Set Quality[3] = 20
                                                           Else
                                                               General - If (Conditions) then do (Actions) else do (Actions)
                                                                   If
                                                                       (Chance count for 1, counting Complete) == 8
                                                                   Then
                                                                       Variable - Set Quality[0] = 10
                                                                       Variable - Set Quality[1] = 30
                                                                       Variable - Set Quality[2] = 30
                                                                       Variable - Set Quality[3] = 30
                                                                   Else
                                                                       General - If (Conditions) then do (Actions) else do (Actions)
                                                                           If
                                                                               (Chance count for 1, counting Complete) == 9
                                                                           Then
                                                                               Variable - Set Quality[0] = 0
                                                                               Variable - Set Quality[1] = 30
                                                                               Variable - Set Quality[2] = 30
                                                                               Variable - Set Quality[3] = 30
                                                                               Variable - Set Quality[4] = 10
                                                                           Else


I have tried taking every thing from
Code
General - If (Conditions) then do (Actions) else do (Actions)
                   If
                       (Chance count for 1, counting Complete) == 2
and after and putting it in a different trigger and nothing was wrong with that that didnt go red so then I tried changing
Code
               Variable - Set Quality[0] = 100
to
Code
               Variable - Set Quality[1] = 100
and I still have the red dot.

Post has been edited 1 time(s), last time on May 28 2010, 10:53 am by ZeroAme.



None.

May 28 2010, 1:08 pm Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

quality array has a size of at least 5?




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
Please log in to shout.


Members Online: Roy