Jump to content
You are about to reply to a thread that has been inactive for 1547 days.

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

Recommended Posts

Posted
23 minutes ago, GEARspirit said:

Hi

Is it possible to collect rezzed objects inside a rezzed prim, through a script? 

 

Ty

Hi GEARspirit

By rezzed objects inside rezzed prim, do you mean a prim is rezzed which then rezzes its contents, and you then want to collect those rezzed contents?

 A simple unpacker script can give you the contents of a prim, but I'm not sure what you mean by "rezzed objects".

Posted

I just want to collect objects on the ground inside the object who has the script... of course i want to pick only objects with a specific name or description, but that i know how to do. ty

Posted

If you are talking about having a script in object "Box" searching for nearby items and collecting them inside the box, no, can't do that.

 

What you can do is to have a script search and return items... maybe doing the opposite of what you had in mind, leaving behind the items you want to keep.

  • Like 2
Posted (edited)

As Phate would have it... you can't move arbitrary objects into an item's inventory. However, if it fits your concept, there may be ways to pick up objects and put them into inventory.  For example, if you're simulating something like an Easter Egg hunt and want people to be able to collect eggs in their attached basket.  You could script a basket to request llAllowInventoryDrop() when the egg-hunter attaches it.  Each egg you hide would have a replica egg inside its own inventory.  The eggs could be scripted to llGiveInventory() to the hunter's basket when touched, then llDie() (or hide) the found egg.  The eggs would need to learn the UUID of the basket first, either through communications or via llGetAttachedList() and llGetObjectDetails().

Edited by DoteDote Edison
  • Like 1
You are about to reply to a thread that has been inactive for 1547 days.

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...