|
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
|
09-24-2006 18:30
Hi, i'm having problem setting the url as a texture to the screen am i doing anything wrong? its hard for me to test because i don't own lands
i have something like
key video_texture = "the link to the movie.mov";
llSetTexture(video_texture,DISPLAY_ON_SIDE);
the error i got is couldn't find texture "the link to the movie.mov"
please help! thank you
|
|
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
|
09-24-2006 18:34
thats to set the teture on the prim, you need to use llParcelMediaCommandList() to set the media texture of the land if you don't set it manually.
|
|
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
|
09-24-2006 18:49
ohh thanks
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
09-25-2006 04:12
From: Lazink Maeterlinck thats to set the teture on the prim, you need to use llParcelMediaCommandList() to set the media texture of the land if you don't set it manually. To clarify a little. To set theTexture use llParcelMediaCommandList( [PARCEL_MEDIA_COMMAND_TEXTURE, textureID] ); this can be a key or a string To Set the URL use llParcelMediaCommandList( [PARCEL_MEDIA_COMMAND_URL, url] ); And to play the movie llParcelMediaCommandList( [PARCEL_MEDIA_COMMAND_PLAY] );
|
|
Mobius Hashimoto
Registered User
Join date: 18 Aug 2006
Posts: 146
|
09-25-2006 17:50
thanks  few more questions, is it true that only one media texture can be set to one parcel? in other words, will i be able to play mutliple URLs in a single parcel?
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
09-26-2006 00:25
From: Mobius Hashimoto thanks  few more questions, is it true that only one media texture can be set to one parcel? in other words, will i be able to play mutliple URLs in a single parcel? Not simultaneously. All you need do is stop the current one and then change it to the new one llParcelMediaCommandList( [PARCEL_MEDIA_COMMAND_STOP] ); llParcelMediaCommandList( [PARCEL_MEDIA_COMMAND_UNLOAD] ); llParcelMediaCommandList( [PARCEL_MEDIA_COMMAND_URL, newurl] ); llParcelMediaCommandList( [PARCEL_MEDIA_COMMAND_PLAY] );
|