Skip to content

llParcelMediaCommandList

void llParcelMediaCommandList(list CommandList)

Controls the playback of multimedia resources on a parcel or for an agent, via one or more PARCEL_MEDIA_COMMAND_* arguments specified in CommandList.

Parameters
CommandList (list)
A list of PARCEL_MEDIA_COMMAND_* flags and their parameters
key myTexture = llGetTexture(0);
llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_TEXTURE,myTexture,PARCEL_MEDIA_COMMAND_PLAY]);
  • This script’s object must be owned by the landowner or the function will silently fail.
  • If the script’s object is over group owned land, then the object must be deeded to that group.
  • If the PARCEL_MEDIA_COMMAND_URL value is greater than 254 characters, the command will silently fail.
  • If using PARCEL_MEDIA_COMMAND_URL and PARCEL_MEDIA_COMMAND_AGENT, make sure the Media URL in the About Land … dialog is unset.