I'm trying to read a value from a global variable with this value ("0,0,0,3") using tokenat but always return 0, here is the code.
What i'm doing wrong? (The token count works fine)
Its zero based.
even if it's zero based, tokenat("0,0,0,3",3,",") should return "3" newt
alguillenar which version of C2 do you use?
I use the latest version
Edit: I found the error, the variable was reset few lines before
Develop games in your browser. Powerful, performant & highly capable.
That's why I can't reproduce