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:41 pm]
Ultraviolet -- just sent you a message on Discord. I suspect you're probably trying to change unit speeds for units that don't use flingy.dat for movement (like any units that walk instead of hovering/flying). You can change their movement to flingy, but they unfortunately look more like they're gliding than walking when you do that.
[07:31 pm]
Symmetry -- EE2, I've been using setdatfile successfully for units.dat and weapons.dat but the flingy changes don't seem to happen
[05:25 pm]
Ultraviolet -- in EE2 you just open DatEdit, go to the flingy tab, and make whatever changes you want. Though if you want to do dynamic shit, you have to use the trigger editor with the setdatfile action. And of course you have to inject your changes when done. Can give more specific troubleshooting advice if you provide more details
[05:20 pm]
Ultraviolet -- Symmetry
Symmetry shouted: why can't I seem to make eud editor change flingy.dat D:
Are you using EE2 or EE3?
[04:57 pm]
Symmetry -- wdym
[02:24 pm]
Apos -- :wob:
[04:16 am]
NudeRaider -- files in c:\program files\ are protected
[2026-7-11. : 8:11 pm]
Symmetry -- why can't I seem to make eud editor change flingy.dat D:
[2026-7-11. : 4:33 pm]
Ultraviolet -- :wob:
[2026-7-10. : 11:00 pm]
Vrael -- :wob:
Please log in to shout.


Members Online: Heinermann, Ultraviolet, Symmetry, IskatuMesk