Jump to content

Trying to make a return script


Blushberry
 Share

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

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

Recommended Posts

Basically the script would return the object detected in another object using llVolumeDetect

Object collides with the prim using the return script the scripted object will return the object colliding with it to the owners inventory. Would this be easy to do? Or would this end up being pretty complex.

I know a little about scripting but nothing like this any help would be appreciated?

Link to comment
Share on other sites

No, that's not possible.  In order to give an object, it would have to be in your scripted object's own inventory. There's no way to get it there unless it's owned by you, and unless you put it there yourself.  Colliding with the scripted object won't do it.

Link to comment
Share on other sites

Well... under specific conditions of ownership, you can use llReturnObjectByID() and get something like the intended effect, perhaps. The scripted object owner would need to have certain appropriate permissions on the land, and the to-be-returned object would need to be owned by somebody without some land permissions (unless that to-be-returned object is scripted to return itself, complicit in the "game"). Also there's some rate throttle on this function; I can't recall the details, but it's not something you can use to counter an active griefer attack, for example.

This would require careful testing to make sure it fits the intended use.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2156 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...