|
PetGirl Bergman
Fellow Creature:-)
Join date: 16 Feb 2005
Posts: 2,414
|
04-02-2007 23:01
I seek a script or how to do that - that make this possible:
I want to put a sound script in a prim. I have that.
When you drag that prim our from your inventory to the ground the sound are activated and play a tune for a while..
Thas all.. now. is that possible and next how can I do that.
Please...
/Tina
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
04-02-2007 23:53
From: PetGirl Bergman I seek a script or how to do that - that make this possible:
I want to put a sound script in a prim. I have that.
When you drag that prim our from your inventory to the ground the sound are activated and play a tune for a while..
Thas all.. now. is that possible and next how can I do that.
Please...
/Tina Very easy string sound = "My Sound"; // name of sound file in inventory OR a 'global key float volume = 1.0; // Max volume default { on_rez(integer num) { llPlaySound(sound, volume); } }
|
|
PetGirl Bergman
Fellow Creature:-)
Join date: 16 Feb 2005
Posts: 2,414
|
04-03-2007 10:52
You know? You helped me to do my first sucesfull scripting  ).. I added the ”sound” word and now it are sound in it  ))) HUGS!!! TKS A LOT!! /Tina
|