Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Made a Ring to Rezz Objects but when someone else tries the ring it does not work.

Mickeywishes Au
Registered User
Join date: 7 May 2006
Posts: 16
07-08-2006 17:09
Ok I have been working long and hard on a ring. It does lots of dirrerent particle effects. I added items for it to rez and they all work fine for me, but when someone esle gets it (all the particles are fine) nothing happens or it says the item is not in inventory. What can I do to fix this. I wnet back and made all the Reaaing items copyable by next owner and they were all temporary so they would dissappear. When I changed then to not temporary they still will not Rez for anyone but me and the Original Ring. Any Help would be greatly appreciated.
What can I do to the script and or item to let others use it?
Aodhan McDunnough
Gearhead
Join date: 29 Mar 2006
Posts: 1,518
07-08-2006 18:17
You need to execute an llGetOwner in the rez and/or attach events.
Rodrick Harrington
Registered User
Join date: 9 Jul 2005
Posts: 150
07-08-2006 18:48
the inventory needs to be transfer/copy inside the object or it won't be able to rez properly for the next owner, if that's fine could be something in your script that looks for llGetOwner() but is set before the transfer (like a listener, etc.) that won't allow it to try and rez :) If it doesn't mess you up just llResetScript() in on_rez.
_____________________
Mickeywishes Au
Registered User
Join date: 7 May 2006
Posts: 16
07-09-2006 12:16
All my items are transfer/copyable. Do I need to llGetOwner second? Here is a copy of one of my scripts. What did i need to do? Thank-you!

default
{
state_entry()
{
llListen( 0, "", llGetOwner(), "Fireworks" );
}

listen( integer channel, string name, key id, string message )

{
llRezObject("Fireworks", llGetPos() + < 0, 0, 0 >, ZERO_VECTOR,llAxisAngle2Rot(<0,0,0>,0), 42);

}
}
Adriana Caligari
Registered User
Join date: 21 Apr 2005
Posts: 458
07-09-2006 12:46
CODE


default
{
state_entry()
{
llListen( 0, "", llGetOwner(), "Fireworks" );
}
on_rez( integer r )
{
llResetScript();
}
changed( integer c )
{
if ( c & CHANGED_OWNER )
{
llResetScript();
}
}

listen( integer channel, string name, key id, string message )

{
llRezObject("Fireworks", llGetPos() + < 0, 0, 0 >, ZERO_VECTOR,llAxisAngle2Rot(<0,0,0>,0), 42);

}
}



that should work - as mentioned you need to reset to pick up a new owner
_____________________
Maker of quality Gadgets
Caligari Designs Store
Mickeywishes Au
Registered User
Join date: 7 May 2006
Posts: 16
07-09-2006 17:41
Ok, with that I can still bring up the items but this is the message that others get:

Can't rez no copy objects from an attached object.


If they take the ring off, put it on the ground then say "Fireworks" it works but the Fireworks item dissapears from the ring. Anyone knoe what is going on and how I can fix this? I put each of the items a copyable but when someone else gets the ring the item says (no copy)(no modify), how can I get ride of this. The items are also set to Temporary.

Thank-you!
Joannah Cramer
Registered User
Join date: 12 Apr 2006
Posts: 1,539
07-09-2006 17:56
From: mickeywishes Au
I put each of the items a copyable but when someone else gets the ring the item says (no copy)(no modify), how can I get ride of this.

Rez your ring thing on ground or somewhere, then set permissions for "Next owner can..." on the objects in its inventory to Copy. They're made just Transferrable by default i believe. Then right-click and "Take" the ring back to your inventory so you have ring with correctly set permissions that you can then give to others.
Mickeywishes Au
Registered User
Join date: 7 May 2006
Posts: 16
07-10-2006 02:09
Thank you all so much! That did it! :)

Thanks for the help!