|
Stray Underwood
Registered User
Join date: 14 Sep 2007
Posts: 12
|
03-24-2008 05:57
I want to make a HUD for my own use. I want the object to make me say "/1 http://*********"
I can only get the object to "talk", is there a way for it to speak for me.
I am trying to make a HUD (i would rather a menu but do not know how to make them) that will change the URL for my lands media, but with my own custom urls...
any help or a example script to make this work.
|
|
Stray Underwood
Registered User
Join date: 14 Sep 2007
Posts: 12
|
03-24-2008 07:04
let me also add that i am using a freeview tv, all i want to do is change my land media url with out having to click the tv ot goto my land, is this able to be done with just text, if so how do i make an onject do this.
I keep getting "object "/1 http://*******" when the text needs to be done by me.
|
|
Kahiro Watanabe
Registered User
Join date: 28 Sep 2007
Posts: 572
|
03-24-2008 08:12
You don't need to 'speak' to change your media url LSL can do it by itself: http://lslwiki.net/lslwiki/wakka.php?wakka=llParcelMediaCommandListWith that fuction. If you need help on how to work with it, ask.
|
|
Stray Underwood
Registered User
Join date: 14 Sep 2007
Posts: 12
|
03-24-2008 10:50
thank you, but since i am still learning i will have to take you up on your offer of help....
touch_start ( integer total_number ) { llParcelMediaCommandList ( [ PARCEL_MEDIA_COMMAND_URL ] ); } }
This is what I understand the code will be, but where do i set the url?
|
|
Kahiro Watanabe
Registered User
Join date: 28 Sep 2007
Posts: 572
|
03-24-2008 12:59
Sorry, I was sleepy when I wrote that, the function to set media url is: llSetParcelMusicURL(string url); example: llSetParcelMusicURL("http://myMusic.com:8000"  ; Check, here you'll find the script you need: http://rpgstats.com/wiki/index.php?title=LlSetParcelMusicURLTry to change the listening channel to one different from zero...so you don't generate too much lag.
|
|
Stray Underwood
Registered User
Join date: 14 Sep 2007
Posts: 12
|
03-24-2008 13:18
Thank you for the link, but that is for music, the one for the video does not explain it in simple me form...
default { touch_start ( integer total_number ) { llParcelMediaCommandList ( [ PARCEL_MEDIA_COMMAND_LOOP ] ); } }
This is what it says to change the media, but i do not know where the url goes. I do not want to play inworld with testing because i do not want to mess anything or anyone up.
Thank you for your help so far.
|
|
Blu Laszlo
Registered User
Join date: 3 Feb 2007
Posts: 8
|
03-24-2008 14:11
From: Stray Underwood Thank you for the link, but that is for music, the one for the video does not explain it in simple me form...
default { touch_start ( integer total_number ) { llParcelMediaCommandList ( [ PARCEL_MEDIA_COMMAND_LOOP ] ); } }
This is what it says to change the media, but i do not know where the url goes. I do not want to play inworld with testing because i do not want to mess anything or anyone up.
Thank you for your help so far. The command is explained here: http://wiki.secondlife.com/wiki/LlParcelMediaCommandListA possible use might be something like this: llParcelMediaCommandList([ \ PARCEL_MEDIA_COMMAND_UNLOAD, \ PARCEL_MEDIA_COMMAND_URL, URL0, \ PARCEL_MEDIA_COMMAND_PLAY ]);
|