I've set it to a default channel of 55.
default
{
state_entry()
{
llListen(55,"",NULL_KEY,"");
}
listen(integer channel,string name,key id,string m)
{
if ( llParcelMediaQuery([PARCEL_MEDIA_COMMAND_TEXTURE]) == [] )
llSay(0, "Lacking permission to set/query parcel media. This object has to be owned by/deeded to the land owner.");
llParcelMediaCommandList( [
PARCEL_MEDIA_COMMAND_URL, m,
PARCEL_MEDIA_COMMAND_AGENT, id,
PARCEL_MEDIA_COMMAND_PLAY ] );
}
}
Features can be added to this as needed.
No comments:
Post a Comment