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.
[01:01 am]
Oh_Man -- Heroes of the Storm literally died and was revived before we got next SC game. Wb Loveless, u cooking any UMS for us?
[11:35 pm]
LoveLess -- getting diablo 5 and wow 4 before starcraft ghost
[09:22 pm]
RIVE -- To be fair, I used to post custom emotes back when I still used the forums.
[12:54 pm]
l)ark_ssj9kevin -- RIVE
RIVE shouted: 💯
holy shit did you just use an emoji on SEN that feels illegal 🍆
[10:24 am]
Moose -- Heinermann
Heinermann shouted: new era of SC and it's just some shooter they're gonna cancel before 2030
StarCraft 2: Ghost 2, The Reghostening
[2026-9-13. : 3:38 am]
Symmetry -- :wob:
[2026-9-13. : 3:13 am]
Zoan -- :wob:
[2026-9-13. : 3:01 am]
RIVE -- 💯
[2026-9-13. : 2:40 am]
Heinermann -- new era of SC and it's just some shooter they're gonna cancel before 2030
[2026-9-12. : 2:39 pm]
Oh_Man -- who's ready for blizzcon? a new era of SC may well be beginning
Please log in to shout.


Members Online: acemycourse