Jump to content

Collect rezzed objects inside a prim


GEARspirit
 Share

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

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

Recommended Posts

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".

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

×
×
  • Create New...