Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Quick question - Many objects, one script

Cera Dreadlow
Registered User
Join date: 9 Jul 2008
Posts: 21
11-13-2008 11:16
OK, this is a quick question that I assume can be easily answered - is it possible to put a script into the contents of an object (or many objects, in my case) without having to pull it out of inventory?

I'm creating a menu that rezzes different birds. I try to test a little as I go along, but it usually ends up that I don't find problems until I've already pulled out all my birds, put the new script on them, and "Take"n them back into my inventory (to then put into the rezzer). This is a long, tedious process, and I was just wondering if the script could be applied to all my little objects at once while they're still in my inventory, rather than pulling 'em out one at a time...
Perry Windlow
Registered User
Join date: 7 Oct 2008
Posts: 17
11-13-2008 12:55
llSetRemoteScriptAccessPin(Pin);

Will enable the transfer

llRemoteLoadScriptPin

Will transfer the script
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
11-13-2008 13:45
you can also use the object_rez function. it's called each time you rez and object from the script. in case of lag you may want to give it a half a second sleep to alow the object to actually rez.

http://wiki.secondlife.com/wiki/Object_rez
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369