Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

PARCEL_MEDIA_COMMAND_TYPE broken?

Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
05-19-2008 17:24
im trying ot create a media device that uses this to switch between stuff but i cant figure out, is it implemented yet or broken?

CODE

default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}

touch_start(integer total_number)
{
llParcelMediaQuery(PARCEL_MEDIA_COMMAND_TYPE, text/html);
}
}
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
05-19-2008 20:09
First off I think you should be using quotes: "text/html". I'm not familiar enough with the function yet to give more advice though.
Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
05-19-2008 20:27
i figured it out, and you were right you needed "" in it, btw neaver use web in sl to watch movies

/me gets amazed at the mass loading of death