Global or Shared Variables

If I've got two copies of Everquest 2 running, is there a way to share variables between the two?

I start a script, have a variable, in 1st eq2
2nd eq2 wants to update eq1's variable
1st instance updates the variable too.

i've tried doing a relay that queues the update, but i'm having trouble getting it to sync the way i want.

was hoping there was a
global variable uint SomeoneDidSomethingLast
 
If I've got two copies of Everquest 2 running, is there a way to share variables between the two?

I start a script, have a variable, in 1st eq2
2nd eq2 wants to update eq1's variable
1st instance updates the variable too.

i've tried doing a relay that queues the update, but i'm having trouble getting it to sync the way i want.

was hoping there was a
global variable uint SomeoneDidSomethingLast

specifically, i see

declarevariable astring string global Something

but i'm not undestanding
if script 1 declares it, then script 2 declares it, is it reset, or recreated, or left alone if it already exists?
 
Top Bottom