Mark Busch
DarkLife Developer
Join date: 8 Apr 2003
Posts: 442
|
03-14-2005 05:23
Hey, I've heard from someone that when you have an object with no-copy no-mod and you take the script out and put it in your own object, that it resets... is this true???
thanks!!
Mark
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
03-14-2005 07:20
Yes, the script does reset. Newly inserted scripts reset no metter the permissions you have opopn placing them in an object, as it's a new instance of a task at that point. But, this is not nessesarily a bad thing, depending on what the script does and how it does it.
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
03-14-2005 13:06
While a script is in inventory it's in two forms, human readable code, and byte code. This allows for the total script size to fluctuate, saving space on the asset server (a 512 byte script in text would take up less then 1kb, with a max of 40kb per script). If a script were to retain it's running state it would bloat to 16kb per script. New assets would have to be created even if the bytecode of the scripts were identical.
I understand where you are taking this and why you want this but it would have undesirable effects for scripts not designed with this in mind.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|