umarfarooq
Here's my full coding. Let me explain it, start of layout a csv is stored to the array (thanks rexrainbow) then it waits for 1 second to call a Players_defense_overall.
Players_defense_overall calls 2 other functions that consist of FOR EACH XY elements as stated earlier in my post. You might question why there is a WAIT action between the functions its because i want it to:
As you can see, the TOPG(defense) will SET Array.at(CurX,17) initial value first depending on what condition it checks out then the after 1 sec, function FPG(defense) (What is should be doing) will add depending on what condition it checks out into the CURRENT VALUE Array.at(CurX,17) but instead that, it doesnt do that.
I hope my explanation is understandable. If you want i can also upload the capx if you have the time to look into it. Thank you!