1 = 0
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?
Comments
Deepflame
12. Dec 2009 · 23:52 UTC
Usually indices are 0-based. Check string_char_at(“0101”,3) instead.
Cosine
12. Dec 2009 · 23:53 UTC
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 😛