Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Play sound in object within Contents?

Si Neumann
Registered User
Join date: 26 Apr 2006
Posts: 12
07-29-2006 15:20
I want to be able to drop a box full of sounds into an object so it appears as an object within that Parent object's Contents folder.

Is there a way for a script in the parent object to access and play the sounds from within this object?

(i'm guessing not!).
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
07-29-2006 18:51
From: Si Neumann
I want to be able to drop a box full of sounds into an object so it appears as an object within that Parent object's Contents folder.

Is there a way for a script in the parent object to access and play the sounds from within this object?

(i'm guessing not!).


No.
But seeing as you control both objects, you could script the containing object to rezz a copy of the contained object, and then script the the contained object to play it's contents.
Secret Pixie
Registered User
Join date: 9 Jun 2006
Posts: 0
Thanks Angela
07-31-2006 01:31
Thanks Angela - that's a real pity. Was trying to avoid rezzing objects as its messy and produces unnecessary prims.
Si Neumann
Registered User
Join date: 26 Apr 2006
Posts: 12
Hmmm
08-02-2006 11:43
Thanks Angela - unfortunately you've come up with the answer I was trying to avoid - i.e. unnecessary prims and rezzing! This is a pity - unless anyone knows a better way. Roll on OOLSL! ;-)
Angela Salome
Registered User
Join date: 6 Oct 2005
Posts: 224
08-02-2006 13:26
You could script the box of sounds to give it's inventory to llGiveInventoryList to the player object.