LlClearPrimMedia

From Second Life Wiki

Jump to: navigation, search

Template:Needs Translation/LSL/de Template:Needs Translation/LSL/es Template:Needs Translation/LSL/el Template:Needs Translation/LSL/fr Template:Needs Translation/LSL/he Template:Needs Translation/LSL/it Template:Needs Translation/LSL/ja Template:Needs Translation/LSL/ko Template:Needs Translation/LSL/nl Template:Needs Translation/LSL/hu Template:Needs Translation/LSL/no Template:Needs Translation/LSL/da Template:Needs Translation/LSL/sv Template:Needs Translation/LSL/tr Template:Needs Translation/LSL/pl Template:Needs Translation/LSL/pt Template:Needs Translation/LSL/ru Template:Needs Translation/LSL/uk Template:Needs Translation/LSL/zh-Hans Template:Needs Translation/LSL/zh-Hant

Image:Emblem-important-red.svg Pre-release Documentation Warning!

This function only appears in specific branches of the SL client source code. LL may make changes to the implementation prior to release, so this documentation may not reflect the final product, it may not even accurately represent LL's current implementation. It is slated to be released in SL server version 1.33.0 and client version 1.24.4.

Contents

Summary

Buggy
Function: integer llClearPrimMedia( integer face );
352 Function ID
1.0 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.

controls Flags Description
LSL_STATUS_OK 0 Ok
LSL_STATUS_MALFORMED_PARAMS 1000 Malformed Parameters
LSL_STATUS_TYPE_MISMATCH 1001 Type Mismatch
LSL_STATUS_BOUNDS_ERROR 1002 Bounds Error
LSL_STATUS_NOT_FOUND 1003 Inventory Item Not Found
LSL_STATUS_NOT_SUPPORTED 1004 Not Supported - invalid parameter flag
LSL_STATUS_INTERNAL_ERROR 1999 Internal Error
LSL_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.

Important Issues

~ Search JIRA for related Bugs
Bug - A problem which impairs or prevents the functions of the product. Open - The issue is open and ready for the assignee to start work on it.    SVN Changeset 2816 in Trunk is immature

Examples

See Also

This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.
Personal tools
In other languages