Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Basic problems with llParcelMediaCommandList

Mordecai Sixpence
Registered User
Join date: 17 Dec 2009
Posts: 2
12-18-2009 17:22
Hi, I've been trying to get a prim to just display an image as a media texture and I've managed to get it to change from the default grey to black (which isn't the image). I'm rather new to scripting in LSL and I'm not exactly sure what I'm doing wrong as it seems I would just need a llParcelMediaCommandList call. Would it be a land setting that needs to be changed? I am building on land I purchased but deeded to my group.

From: someone

default
{
touch_start( integer n )
{
llParcelMediaCommandList(
[PARCEL_MEDIA_COMMAND_TEXTURE,
"8b5fec65-8d8d-9dc5-cda8-8fdf2716e361",
PARCEL_MEDIA_COMMAND_URL,
"http://i47.tinypic.com/e8mvk7.jpg",
PARCEL_MEDIA_COMMAND_TYPE,
"image/jpeg",
PARCEL_MEDIA_COMMAND_SIZE,
600, 300,
PARCEL_MEDIA_COMMAND_AGENT,
llDetectedKey(0),
PARCEL_MEDIA_COMMAND_PLAY
]);
}
}
IBME Swindlehurst
Registered User
Join date: 5 Mar 2007
Posts: 139
12-18-2009 17:31
If it isn't already, you need to DEED the object with the script in it to the group as well.
Mordecai Sixpence
Registered User
Join date: 17 Dec 2009
Posts: 2
12-18-2009 17:34
That's done as well, though I wonder if there's a way to view the script after you've deeded it ( I have owner permissions in the group).

*Edit*
I just tried it again and it worked, but when I changed the URL to an image hosted on my own domain it doesn't. Is that a server-side permissions issue?