• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Don't Ignore Me

Status
Not open for further replies.
Level 4
Joined
Oct 23, 2006
Messages
65
Yes, I did edit the thread. But, on a worse note, I have a new problem. For some reason this loop will only run twice. Through my debug tests I found this out.

Code:
For each (Integer A) from 1 to 12, do (Actions)
    Loop - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Player((Integer A))) slot status) Equal to Is playing
            Then - Actions
                ***Game - Display to (All players) the text: ((Player  + (String((Integer A)))) + ( is in row  + (String(WhatRow[(Integer A)]))))***
                Set TempReal[1] = (Real(ArrowsFired[(Integer A)]))
                Set TempReal[2] = (Real(Kills[(Integer A)]))
                Set Accuracy[(Integer A)] = (TempReal[2] / TempReal[1])
                Set Accuracy[(Integer A)] = (Accuracy[(Integer A)] x 100.00)
                Multiboard - Set the text for Multiboard item in column 3, row WhatRow[(Integer A)] to ((String(Accuracy[(Integer A)], 1, 1)) + %)
                Multiboard - Set the text for Multiboard item in column 4, row WhatRow[(Integer A)] to (String(Kills[(Integer A)]))
                Multiboard - Set the text for Multiboard item in column 5, row WhatRow[(Integer A)] to (String(Deaths[(Integer A)]))
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        SpreePlus[(Integer A)] Equal to True
                    Then - Actions
                        Multiboard - Set the color for Multiboard item in column 2, row WhatRow[(Integer A)] to (0.00%, 100.00%, 0.00%) with 0.00% transparency
                        Multiboard - Set the text for Multiboard item in column 2, row WhatRow[(Integer A)] to ((String(CurrentSpree[(Integer A)])) +  K)
                    Else - Actions
                        Multiboard - Set the color for Multiboard item in column 2, row WhatRow[(Integer A)] to (100.00%, 0.00%, 0.00%) with 0.00% transparency
                        Multiboard - Set the text for Multiboard item in column 2, row WhatRow[(Integer A)] to ((String(CurrentSpree[(Integer A)])) +  D)
            Else - Actions

***I added this to test to see if the trigger knew which rows the players were in, only to find that it only displayed the rows for players 1, and 2. Also, I created a trigger that did this exact thing after 5 seconds, and it did show that it had the appropriate slot positions for each player (players which are not playing remain at 0)***

NOTE: I think I know the problem, and it has to do with dividing by 0. Alright, so I tried that out, and it did improve things, however the other players are still not updating for some reason.
 
Status
Not open for further replies.
Top