 |
robert Wanderer
Joined: 25 Feb 2004 Posts: 98
|
Posted: Mon Jan 17, 2011 5:15 pm
How to share variables with different sessions |
I have created multiple sessions that share the same package, but they do not seemingly share the variable changes that I make in each session. Is that normal? Is there a way to make it share variable changes between sessions?
Thanks!
Robert |
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon Jan 17, 2011 8:02 pm |
Yes. Move the variable into the shared package, and delete the duplicate variables within each session.
Normally, I believe that a script will search for variables first within the session package, and then in the package containing the script, and then in any other packages which the script can see. If it does not find any variable with the right name, it will create it by default in the session package. |
|
|
 |
robert Wanderer
Joined: 25 Feb 2004 Posts: 98
|
Posted: Mon Jan 17, 2011 8:25 pm |
Ah, I got it now. Got a much nicer setup for my multiple characters with some settings shared and others not. :) Thanks for the help!
|
|
|
 |
|
|