Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Media Concept

Cornbread Yaffle
Wasn't ME!!!!!!!!!!
Join date: 23 Oct 2004
Posts: 37
04-29-2006 21:19
Ok I'm no great scripter not even really a midocer one either (LOL can't spell can't be one right)....any way, I was wondering if there is a way to do a call to the land properties to get the Media Texture info....I'm in the process of brainstorming to make a UNIVERSAL Media viewer but am not certain it can even be done....as every parcel has the potential for a diffrent Media Texture I'd have to call to teh land properties and uhm "accquire" it from the land, or so is my thought process, any ideas or tips?
Champie Jack
Registered User
Join date: 6 Dec 2003
Posts: 1,156
04-29-2006 22:57
To query the parcel for media texture info use llParcelMediaQuery
This will also give you the current URL that is set for the parcel.

Here's an example taken from the llParcelMediaCommandList page on the LSL Wiki
CODE
 list Info = llParcelMediaQuery([PARCEL_MEDIA_COMMAND_URL, PARCEL_MEDIA_COMMAND_TEXTURE]);