No problem there, however, if I have a var, called "score" which keeps track of player points, and have a "totalpoints" var, which keep these points as a form of in-game credit, but I can't do this:
if(at the end of the level) { _global.totalpoints = _global.totalpoints + score; }
It doesn't work. So how am I suposed to add the numeric value of the "score" var to my global variable?