Talen Morgan
Amused
Join date: 2 Apr 2004
Posts: 3,097
|
11-05-2004 17:31
Working on a project where I need script to play a different sound on each touch...about 12 sounds total. Not much of a scripter and I can't seem to get this one right. Any help would be greatly appreciated.
Also how does one cut and paste within a script you are working on...not even sure if you can
|
Hank Ramos
Lifetime Scripter
Join date: 15 Nov 2003
Posts: 2,328
|
11-05-2004 17:46
There is a collection of sound loops at the MegaTower USL Library in BonnyDoon plus a script that allows you to select one of the loops using touch. That might serve as an example for you.
|
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
|
11-05-2004 18:32
I was hoping to point you towards a particular script that I thought would be in the Script Library, but it's not. But, maybe in your inventory, you have a script designed to cycle textures on touch. Switch Textures / Texture Changer, I forget the name. But, you could install this script, drop your sounds into the object inventory, and instead of having the script llSetTexture ("STRING".......), have it ''llPlaySound("STRING",0.5).
You may need to add a llStopSound() in there if you're gonna be doing quick clicking.
And I know my function labels may be incorrect... I can't remember the ones I don't use very often, and my next step is to find where the Wiki is hiding until LL publishes it.
"here.... Wiki Wiki.... here, Wiki Wiki!"
|
Raz Rutledge
Registered User
Join date: 13 Aug 2004
Posts: 12
|
11-05-2004 19:00
ctrl+c, ctrl+x, and ctrl+v all work inside a script
|
Zuzi Martinez
goth dachshund
Join date: 4 Sep 2004
Posts: 1,860
|
11-05-2004 23:15
also Control-A but careful you don't hit Control-Q. not that i do...every time....
|