| 09-05-2008, 12:22 AM | #2 |
Are you using an IntegerA loop in any triggers that have the event "Unit Aquires an Item?" If you do, the interger A's are probably interfering. Also, try make a custom variable that you will only use in this loop (integer TempLoopA) then use "Loop for each Variable" and specify the integer you created. Then you can use that integer in the loop (in place of integer A) and it should stay "local" to this trigger. |
| 09-05-2008, 01:40 AM | #3 |
Come to think of it I am, but I thought that was ruled out in the conditions. I guess the conflict is more indirect than I thought but I think your solution will fix it. Thanks. |
| 09-05-2008, 07:26 AM | #4 |
add CS string as first line of trigger "local integer bj_forLoopAIndex = 0" |
| 09-05-2008, 05:53 PM | #5 |
won't work for if then else sine GUI get converted to a secnd function (and locals can't me accessed in another function). |
