Change Table Value adding when set to subtract, what do?
So, I have a button with 18 Change Table Value rules.
The first rule hits (Table1,RowX,Col1) with a +1. This part seems to work every time.
The second rule hits (Table2,RowY,Col1) with a +1. This part seems to work every time.
The thirdd rule hits (Table2,RowY,Col2) with a +1. This part seems to work every time.
Now, I copy-pasted the third rule 15 times. It hits (Table2,Rows1-15,Col2) with a -1.
This part seems to only work the first time, and then it starts adding 1 to all those cells instead.
So (Table2,RowY,Col2) is hit with both a +1 and a -1.
This is intended, but I suspect that may be problematic. Is it?
Also, I worry about the copy-pasting of the rule over and over.
When I scroll up and down the behavior list, the parts where it has the table/row link disappear.
So instead of saying tableCellValue(game.table, game.attribute, 2) it says tableCellValue(, , 2).
Which rules have their weird display issue change based as I scroll up and down.
I'm wondering if anyone already knows some finnickyness that I can fix here.
(Replacing with Loop Over Table not an option without changing tables and UI hookups as well)
Comments
Not 100% sure without seeing the code. Could you share this portion?
Nvm. Solved.
I wasn't changing the cell it was supposed to subtract from properly.
So basically a mapping error on my part.