From Second Life Wiki
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
/LSL
SetPrimMediaParams
llSetPrimMediaParams
| 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.
|
Summary
Function: integer llSetPrimMediaParams( integer face, list params );
Set the media params for a particular face.
Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).
| • integer
| face
| –
| face number or ALL_SIDES
|
|
| • list
| params
| –
| a set of name/value pairs (in no particular order)
|
|
If face is ALL_SIDES then the function works on all sides.
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.
- If prim-media is not already on this object, add it.
- Params not specified are unchanged, or if new media is added set to the default specified.
Important Issues
~
Search JIRA for related Bugs