1 = 0
Posted by Cosine
December 12th, 2009 6:50 pm
So, I’ve been working on that game, and I’ve definitely made headway on it. However, GameMaker must think that “1″ = “0″. I’m using string_char_at(“0101″,4), and it returns 0! What on earth?
Usually indices are 0-based. Check string_char_at(“0101″,3) instead.
I already know it’s 1 based, I’ve used it before and it worked fine. I also tried switching, and it just made it worse