Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Stupid Question - What is Derez?

Strop Razor
Registered User
Join date: 10 Aug 2008
Posts: 4
05-11-2009 19:26
I can use the command llRezObject( ) to make an item appear, but how do I get a script to remove it? There is no llRemoveObject(), llDeleteObject(), or llUnRezObject().
I don't just what the object to be invisible; I want the prim-count lowered.

I did a search of this forum and lots of people mention Derezzing, but no one mentions how.
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
05-11-2009 19:30
llDie will do it.. See http://wiki.secondlife.com/wiki/LlDie
_____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!!
- Go here: https://jira.secondlife.com/browse/SVC-3895
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-12-2009 00:01
it has to be done from the prim it's in (setting temp on rez will do it too, after about a minute)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
05-12-2009 07:06
Be careful with llDie - it doesn't return stuff to your inventory or trash or anything like that. It's just poof and the object is GONE.

If you do it on a no-copy object, you lose that object.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-12-2009 09:57
temp on rez gets the same warning
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Strop Razor
Registered User
Join date: 10 Aug 2008
Posts: 4
05-12-2009 18:13
llDie() also has to be in a script on the object being removed. So each object has to be scripted. Doesn't too many scripted object start causing lag problems for the Sim?

A script can't Rez and Derez objects?
Damien1 Thorne
Registered User
Join date: 26 Aug 2007
Posts: 4,877
05-12-2009 18:16
From: Strop Razor
llDie() also has to be in a script on the object being removed. So each object has to be scripted. Doesn't too many scripted object start causing lag problems for the Sim?

A script can't Rez and Derez objects?

No it can't, I asked the same question a few days ago as I didn't want some of the objects to be permanently deleted as llDie does.
_____________________
As we fade into the darkness...
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
05-12-2009 21:53
From: Strop Razor
I can use the command llRezObject( ) to make an item appear, but how do I get a script to remove it? There is no llRemoveObject(), llDeleteObject(), or llUnRezObject().
I don't just what the object to be invisible; I want the prim-count lowered.

I did a search of this forum and lots of people mention Derezzing, but no one mentions how.


Just a little FYI rez is short for 'resolve', hence, de-rez means de-reslove. Resolve has a few different meanings, but here to rez or resolve means 'to make clearly visible'. Derezzing via scripting can be done via llDie() only as far as I know, but as stated before, that particular instance goes to SL Na Na land... the great bit bucket in the sky.. however you want to look at it, but, if the object is copyable, the copy in your inventory is still there, as is the copy in the rezzing object's inventory (if it's copyable as well). So, it's not impossible to derez an object, yet 'retain' it in the sense that it can be rezzed again.

If that's not confusing enough, let me know and I'll see if I can muddy it up some more.
_____________________
My tutes
http://www.youtube.com/johanlaurasia
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
05-13-2009 06:36
Think I heard that the SL term 'rez' actually comes from the movie Tron, which first used it to mean the creation of something. The movies use of it probably comes from 'resolve' though.
_____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!!
- Go here: https://jira.secondlife.com/browse/SVC-3895
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-13-2009 16:05
rez, resolve, resolution, resign (oops I made that last one up):
end.

in context: finish, come into focus, become apparent, born, become useful, become usable, become whole. and about 5 million other euphemisms
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
05-13-2009 16:13
From: Void Singer
rez, resolve, resolution, resign (oops I made that last one up):
end.

in context: finish, come into focus, become apparent, born, become useful, become usable, become whole. and about 5 million other euphemisms

And "de-rez" is like a late parrot .... it is no more .... it is pushin' up daisies .... gone to meet its maker .... an ex-parrot .....
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
05-13-2009 16:14
It's just pining for the fjords..
_____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!!
- Go here: https://jira.secondlife.com/browse/SVC-3895
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left