08-12-2011, 02:17 AM
(08-12-2011, 01:30 AM)Jupiter Wrote:(08-12-2011, 01:22 AM)Jacob_ Wrote:(08-12-2011, 12:20 AM)Qwertygiy Wrote: As it is, I THINK that each World is its own seperate entity, meaning global variables are not shared. I could be wrong though.
My solution would be to have a variable object and then access it from other Worlds using getWorld.
_G variables are shared.
Does that mean if I define a global variable in the main world I can use it in a second world?
Yes.