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.
[07:30 am]
dydwk474 -- HOW DO YOU EVEN UPLOAD FILE HERE THATS BULLCOWAP THE WEBSITE DUMB
[07:30 am]
dydwk474 -- WHAT
[2026-8-24. : 1:15 am]
Symmetry -- There are so many people here I'm surprised we're still online :hurr:
[2026-8-23. : 9:47 pm]
Symmetry -- :wob::wob:
[2026-8-23. : 9:14 pm]
Apos -- I like to :wob:-it :wob:-it.
[2026-8-22. : 11:25 pm]
Zakerozi -- HI
[2026-8-22. : 10:29 pm]
Symmetry -- handledeez nuts
[2026-8-22. : 7:42 pm]
Excalibur -- Its handled.
[2026-8-22. : 6:50 pm]
Praetor -- yo nude or another mod, anyone around rn?
[2026-8-22. : 7:30 am]
NudeRaider -- ultraviolet
Please log in to shout.


Members Online: Oh_Man, lifebot