Set Array Element Not working with Local Variables

Hey! I just spent 2 hours debugging this problem. I’m just interested why does it not work? Set Array Element hadd no change on my array, after changing local variable to global everything started to work fine

Local variables only exist in the scope of the function, then they don’t. If in doubt, please provide a bit more detail and / or a screenshot of the offending script.

1 Like