Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Temp on Rez changes

Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
07-24-2006 13:37
viz: /139/14/123033/1.html

I'd like to second the request that temp on rez not take effect until an object is rezzed, that is while I'm building it, it shouldn't get culled. This is really annoying BTW.

On temp on rez prim limits, that seems like an internal technical question, more is better for scripters, but I don't want to cause lag either. Personally, I only use a handful in my stuff, but they are very nice to have.
Jolan Nolan
wannabe
Join date: 12 Feb 2006
Posts: 243
07-24-2006 17:20
How about simply adding an 'on_rez' function(right term?) with llSetPrimativeParams([temp_on_rez, True]) to make it only check the box after the object gets rezzed? I do that with my balistics. You could then also have it delete the script after changing the properties I think. Also, to edit it, simply rez the object in a no-scripts area :).

- Jolan
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
07-24-2006 17:42
From: Jolan Nolan
How about simply adding an 'on_rez' function(right term?) with llSetPrimativeParams([temp_on_rez, True]) to make it only check the box after the object gets rezzed? I do that with my balistics. You could then also have it delete the script after changing the properties I think. Also, to edit it, simply rez the object in a no-scripts area :).

- Jolan

For one thing llSetPrimativeParams delays the script and for what I'm doing I can't afford the delay.

I'd prefer to work at my workshop thanks.
Darkthion Lake
Registered User
Join date: 21 Jul 2006
Posts: 2
07-24-2006 22:32
If you made the on_rez script its own script, wouldnt that stop the delay?..
Jolan Nolan
wannabe
Join date: 12 Feb 2006
Posts: 243
07-26-2006 11:19
Well then everytime you take it to inventory, take a copy that is not temporary first, then check it and quickly take the temp one. My best guess to date :o .

- Mike
Gene Replacement
.........................
Join date: 26 May 2006
Posts: 54
07-26-2006 12:18
Aren't temp on rez prims only temp if the flag has been set before it's rezzed? I think setting the temp on rez flag after rezzing the prim wouldn't make it temp until it's rerezzed.
Spuds Milk
Registered User
Join date: 28 Sep 2004
Posts: 94
07-26-2006 19:54
nope, it takes effect immeditatly, so 60 seconds later it poofs
Thomas Conover
Registered User
Join date: 11 May 2006
Posts: 7
07-26-2006 20:30
default
{
state_entry()
{
}

on_rez(integer rez)
{
if (rez != 0)
{
llSetPrimitiveParams([PRIM_TEMP_ON_REZ, TRUE]);
}
}

}