Page 1 of 1

Variables ranges

Posted: Sun Oct 26, 2014 10:41 am
by cromcrom
hi,
my question is, how do I create game-wide variables ? Do I have to use tables (which doesn't bother me, really) ?

local xxxx = function wide variable
xxxx = script "global" variable

what would be a game global variable ?

thanks.

Re: Variables ranges

Posted: Sun Oct 26, 2014 2:22 pm
by NutJob

Re: Variables ranges

Posted: Sun Oct 26, 2014 3:20 pm
by cromcrom
Tx, it did help me. I tried various ways to set up global variables. maybe it doesn't work beacause I must try to save/reload the game, instead of just updating it with f5 ^^