Jump to content

Object question.


NicholasKulp
 Share

You are about to reply to a thread that has been inactive for 4070 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts


NicholasKulp wrote:

Is there any way for an object to give it self to the owner?  Like for it to derez and go into the owners inventory?  Or is the best way to do this by attaching and then detaching (that would do it, right?)?

What are you trying to do?

If you own the object and it is copy able it is already in your inventory unless you just build it

Link to comment
Share on other sites

This should work quickly/efficiently to return itself:

        llSetLinkPrimitiveParamsFast(LINK_SET,[PRIM_PHYSICS, FALSE, PRIM_POSITION, <1.304382E+19, 1.304382E+19, 0.0>, PRIM_POSITION, <128.0,128.0,5000.0>,PRIM_PHYSICS,TRUE]);

 

Attaching and detaching would go to the objects folder, but it needs to request permissions to attach first, and it needs to be in the same sim as the owner.

Link to comment
Share on other sites

you don't have to turn physics on for that.... or even the second position.... it should also target the root really.

please note that while that will return an object to you, it will also usually make it very hard to place again.... it will want to have access to the <0, 0, 0>, and will try to rez there.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4070 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...