A probelm with arrays
game maker tells me that I am
"trying to index a variable which is not an array"
but I don't seem to understand what makes my beloved variable distanceprojection a non-array.
A picture is a good way to show my problem:
http://i.imgur.com/8EzzzJY.png
where did I go wrong? What could cause distanceprojection to not be considered an array?
Posted Sep 23, 2016, 12:43 PM UTC
Somewhat related, it seems like GML cleans up arrays before the On Destroy event is called, so make sure you deal with them before that.