Difference between revisions of "LlClearPrimMedia"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 5: Line 5:
|func_footnote=
|func_footnote=
|func_desc=Clears (deletes) the media and all {{HoverText|params|params specified by llSetPrimMediaParams}} from the given '''face'''.
|func_desc=Clears (deletes) the media and all {{HoverText|params|params specified by llSetPrimMediaParams}} from the given '''face'''.
|return_text=that is a STATUS_* flag which details the success of the operation(s).
|return_text=that is a STATUS_* flag which details the success/failure of the operation.
|spec=
|spec=
|caveats
|caveats

Revision as of 17:13, 19 October 2009

Emblem-important-red.png Pre-release Documentation Warning!

This function is not available yet. This documentation was written prior to its final release so it may not match the final implementation.It is slated for release in Server 1.33.0 and Client 1.24.4.

Summary

Function: integer llClearPrimMedia( integer face );
1.0 Forced Delay
10.0 Energy

Clears (deletes) the media and all params from the given face.
Returns an integer that is a STATUS_* flag which details the success/failure of the operation.

• integer face face number or ALL_SIDES

If face is ALL_SIDES then the function works on all sides.

Success/Failure Flags Description
STATUS_OK 0 Result of function call was success
STATUS_MALFORMED_PARAMS 1000 Function was called with malformed parameters
STATUS_TYPE_MISMATCH 1001 Argument(s) passed to function had a type mismatch
STATUS_BOUNDS_ERROR 1002 Argument(s) passed to function had a bounds error
STATUS_NOT_FOUND 1003 Object or other item was not found
STATUS_NOT_SUPPORTED 1004 Feature not supported
STATUS_INTERNAL_ERROR 1999 An internal error occurred
STATUS_WHITELIST_FAILED 2001 Whitelist Failed

Caveats

  • This function causes the script to sleep for 1.0 seconds.
  • The function silently fails if its face value indicates a face that does not exist.

Examples

See Also

Deep Notes

History

Signature

function integer llClearPrimMedia( integer face );