Do global variables work between worlds?
#5
(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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)