Difference between revisions of "Talk:LSL Variables"
Jump to navigation
Jump to search
(→Stability: response) |
|||
(One intermediate revision by one other user not shown) | |||
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) | |||
::If you need to have mission-critical persistance storage, use an external host. | |||
::[[User:SignpostMarv Martin|SignpostMarv Martin]] 14:28, 17 February 2007 (PST) |
Latest revision as of 15:28, 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)
- If you need to have mission-critical persistance storage, use an external host.
- SignpostMarv Martin 14:28, 17 February 2007 (PST)