Difference between revisions of "LlSetRemoteScriptAccessPin"

From Second Life Wiki
Jump to navigation Jump to search
(Cautionary notice on adding scripts using this call to creations of others)
Line 6: Line 6:
|func_footnote
|func_footnote
|spec
|spec
|caveats=*If you are not the original creator of an item, but instead adding third-party scripts, you do not want to use this function. It essentially denies the original creator the ability to update scripts remotely.
|caveats=*A prim has only one pin for remotely loading scripts.
**By changing the pin, a script can deny other scripts the ability to load scripts into the prim.
***This could result in unintentionally breaking a products ability to be updated by an upstream creator.
***This can be used to intentionally stop an upstream creator from updating a product.
|constants
|constants
|examples
|examples

Revision as of 16:24, 15 December 2010

Summary

Function: llSetRemoteScriptAccessPin( integer pin );

Allows a prim to have scripts remotely loaded via llRemoteLoadScriptPin when it is passes the correct pin and the prim is set mod.

• integer pin zero disables, non-zero enables.

Caveats

  • This function causes the script to sleep for 0.2 seconds.
  • A prim has only one pin for remotely loading scripts.
    • By changing the pin, a script can deny other scripts the ability to load scripts into the prim.
      • This could result in unintentionally breaking a products ability to be updated by an upstream creator.
      • This can be used to intentionally stop an upstream creator from updating a product.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llRemoteLoadScriptPin Used to load a script into a remote prim

Deep Notes

Search JIRA for related Issues

Signature

function void llSetRemoteScriptAccessPin( integer pin );