Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

I'm looking for a rezzer script but ....

Nisa Maverick
Registered User
Join date: 3 Jun 2007
Posts: 224
01-15-2009 11:03
i 've been searching for a rezzer script that will do.

Rez an object when an av is within 1 meter, and then de rez the object after 1 min has passed. I've tried temp rezzers the free ones but that doesnt work well.

Any Ideas
LittleMe Jewell
...........
Join date: 8 Oct 2007
Posts: 11,319
01-15-2009 11:11
Have you tried a search of the Scripting forum? And then I would follow that up with asking in that forum as they are all pretty good about answering and would probably know better/faster than many of the Resident Answers folks.
_____________________
♥♥♥
-Lil

Why do you sit there looking like an envelope without any address on it?
~Mark Twain~

Optimism is denial, so face the facts and move on.
♥♥♥
Lil's Yard Sale / Inventory Cleanout: http://slurl.com/secondlife/Triggerfish/52/27/22
.
http://www.flickr.com/photos/littleme_jewell
Mickey Heaney
Registered User
Join date: 20 Dec 2005
Posts: 51
01-15-2009 11:13
I know that JB Kraft has something similar....contact him inworld. Awesome scripter.
Nisa Maverick
Registered User
Join date: 3 Jun 2007
Posts: 224
01-15-2009 11:21
I will try that thanks.
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
01-15-2009 15:05
If you don't get any joy, PM or IM me, I have a boat rezzer that works in a similar fashion only it rezzes on touch - which incidentally is way less laggy than doing sensor sweeps.

Also the rezzed object needs to be modified to include a derezz script as you cannot derezz an object from another object - only from within the object you want derezzing.

My boats derezz after 5 mins of not being sat upon.

I can give you a copy of my scripts unaltered (except I will change the time for the derezz) if you want them.

If you really need the sensor sweep and you don't get any joy elsewhere then I will do that too.
DancesWithRobots Soyer
Registered User
Join date: 7 Apr 2006
Posts: 701
01-15-2009 16:20
You could always set the rezzed item to temp.
_____________________
"Two lives I have.
One life I live. One life I dream.
In dreams I remember the better in me."
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
01-15-2009 17:43
From: DancesWithRobots Soyer
You could always set the rezzed item to temp.
Yes you can do that do, I had forgotten about that but you cannot control how long the period is before it is clean up and the OP stated 1 min derezz.
Bree Giffen
♥♣♦♠ Furrtune Hunter ♠♦♣♥
Join date: 22 Jun 2006
Posts: 2,715
01-15-2009 21:10
You could put an invisible 1m prim that the avatar collides into and activates the prim rezzer.
Gabriele Graves
Always and Forever, FULL
Join date: 23 Apr 2007
Posts: 6,205
01-15-2009 21:36
From: Bree Giffen
You could put an invisible 1m prim that the avatar collides into and activates the prim rezzer.
Thats true and I do this for the circle of protection around my coffin at my place, only I send them home when they collide :) VV
Ghosty Kips
Elora's Llama
Join date: 2 May 2008
Posts: 2,386
01-15-2009 21:58
From: Nisa Maverick
i 've been searching for a rezzer script that will do.

Rez an object when an av is within 1 meter, and then de rez the object after 1 min has passed. I've tried temp rezzers the free ones but that doesnt work well.

Any Ideas


The script can res a "temporary" object when an ava comes within one meter; temporary objects delete themselves after a short time (30 secs, maybe it's a minute, I forget).

If the time isnt right, a script in the ressed object can delete it's own prim after x seconds, sure.

edit: the function is llDie
http://lslwiki.net/lslwiki/wakka.php?wakka=llDie
_____________________
--
Why aren't you doing something more useful, like playing WoW?
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
01-15-2009 23:26
There's not really a guarantee of how long a temp object will last, and there have been changes in the past, but they still seem to last right about a minute for me.

Another thing that may be useful here: To extend a temp object's life, perhaps because someone interacted with it, you can convert it to permanent with:

llSetPrimitiveParams([PRIM_TEMP_ON_REZ, FALSE]);

Then, when the script decides it's time to clean up, either llDie() to wipe it immediately, or set PRIM_TEMP_ON_REZ back to TRUE and the sim will wipe it in about a minute.