Difference between revisions of "Talk:LSL Variables"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
==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? | 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. [[User:Strife Onizuka|Strife Onizuka]] 11:06, 17 February 2007 (PST) |
Revision as of 11:06, 17 February 2007
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)