Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Auto Rezzer

Nathan Babcock
Registered User
Join date: 5 May 2006
Posts: 47
05-17-2007 08:13
Hello,

Can't seem to find a rezzing script that will automatically rezz items in its content folder. The only functionality I would need are:

1. Rez 1 random item each hour in its inventory.
2. Kill or remove the 1 rezzed object when a new random object is rezzed.
2. Have the person either drop items in or type the name in a notecard.

Any help appreciated.
Nate
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
05-17-2007 08:29
1. Read the inventory into an array using the llGetInventoryName(integer type, integer number) (type for objects is 6)
1a. Use the llRezObject(string inventory, vector pos, vector vel, rotation rot, integer param) using the llSetTimerEvent(1.0) function and timer() event.

2. The only way to kill an object is for it to have the llDie() with a timer inside the object that was rezzed or receive a chat command for it to die.

3. You must set the object to accept inventory drops using llAllowInventoryDrop(integer add) function.