|
| 30 Nov 2013 08:37 PM |
| It seems that if I make Global variables in the ServerScriptService, my LocalScript cannot access the variables... Is this true? And if it is, is there a work around? |
|
|
| Report Abuse |
|
|
sam8985
|
  |
| Joined: 12 Nov 2011 |
| Total Posts: 582 |
|
|
| 30 Nov 2013 08:40 PM |
| LocalScripts and regular Scripts have separate _G tables. |
|
|
| Report Abuse |
|
|
|
| 30 Nov 2013 08:43 PM |
| Well poo. How can I make them share a _G table. I really don't want to use Instances for them to communicate. The game will rely on the fact that they can share a _G table...... |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 30 Nov 2013 08:44 PM |
You can't. You'll have to use instances as an intermediary.
~Jode |
|
|
| Report Abuse |
|
|
|
| 30 Nov 2013 08:46 PM |
:(:(:(
This is gonna be really interesting. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 30 Nov 2013 08:57 PM |
What are Remote functions?
I guess I will just cram a model full of variables in ReplicatedStorage. |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 30 Nov 2013 09:22 PM |
http://wiki.roblox.com/index.php/RemoteFunction
~Jode |
|
|
| Report Abuse |
|
|
| |
|