|
sounds Turner
Registered User
Join date: 13 Sep 2005
Posts: 160
|
12-28-2006 23:27
Hello,
I found a simple script that when droped into an object, the object acts as a basic remote Is there a script i could use that hides that media url when you select a stream? With the basic script in use, when an object is touched, it pops up a menu but when you broowse the different urls it also shows the url for each movie file, i'd like to hide that Am guessing this is the same script i'd find in most movie players in sl only customised?
Thanks later
|
|
Sterling Whitcroft
Registered User
Join date: 2 Jul 2006
Posts: 678
|
12-29-2006 05:35
If the script is not proprietary, post it here, so we can look. There are several media players around, many use "Bucky's Radio" code, which was derived from "Diane's Radio" code. If its based on Bucky's, look for code similar to this: doListStations(string mode) { integer i; integer startPos; integer endPos; if (mode == "a") { startPos = 0; endPos = totalStations - 1; } else { startPos = curStationOffset; endPos = curStationEnd; } for (i = startPos; i <= endPos; i++) { string newURL = llList2String(_radioURLs, i); string newDesc = llList2String(_radioStations, i); llSay(0, (string)(i + 1) + ": " + newDesc + " = " + newURL); } }That last line that says, "llSay" is probably what you want. Just change it to: llSay(0, (string)(i + 1) + ": " + newDesc); You may not want do this in the station Set Up portions of the script. When entering a new URL, you're going to want it to repeat back--so you can test for errors.
|
|
sounds Turner
Registered User
Join date: 13 Sep 2005
Posts: 160
|
Reply..
12-29-2006 14:41
Thank you will try it out shortly.
|