Difference between revisions of "LlClearPrimMedia"

From Second Life Wiki
Jump to navigation Jump to search
m (server 1.33 is already released)
m
Line 23: Line 23:
*{{JIRA|SVC-4939}}
*{{JIRA|SVC-4939}}
|cat1=Prim Media
|cat1=Prim Media
|cat2
|cat2=Media
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 16:14, 23 October 2010

Summary

Function: integer llClearPrimMedia( integer face );

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

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.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Deep Notes

History

All Issues

~ Search JIRA for related Issues
   SVN Changeset 2816 in Trunk is immature

Signature

function integer llClearPrimMedia( integer face );