Talk:LSL Variables

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Stability

Suppose you have a global variable in a script that runs in an object that is on solid land, that is to say, the object is rezzed onto the land once and then left there for months. Can you then rely on the contents of that variable to remain stable? Will it be affected by (rolling) restarts? Could it be 'reset' to a default value (0, or NULL_KEY) at unpredictable moments?

Variables should keep indefinitely, all you have to worry about is when a sim is rolled back to a previous state. Strife Onizuka 11:06, 17 February 2007 (PST)
If you need to have mission-critical persistance storage, use an external host.
SignpostMarv Martin 14:28, 17 February 2007 (PST)