Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
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)
Develop games in your browser. Powerful, performant & highly capable.
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
That's why I can't reproduce