Jump to content

Sharing variables


JT Hamelin
 Share

You are about to reply to a thread that has been inactive for 4108 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Yes and no - well, as far as I understand your question.

Variables as such are restricted to one script - there is now way to define a super global variable that different scripts can access.

Of course you can store values in a way that different scripts/objects can access them.

Link to comment
Share on other sites

if they are static/ non changing. YES (though technically not a Variable)

OR

if they are stored in a central loocation(website, server prim) and you have some sort of communication to update the "children".

OR

the variables change based on a set pattern at a set interval.

Link to comment
Share on other sites

inworld, lsl http would be your best bet, backed up by email...

server sits in one place, accepts both email request (which will contain an http address for the clients) and http requests (which can be used to update). clients would attempt to send updates via the last known http address and if it fails fall back to sending their own http address via email. the server prim updates from either message type, and if it's email, send an http message with it's new address.

out of SL any server that accepts http requests would work, and preclude the need for client http-in

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4108 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...