Difference between revisions of "LlSetRemoteScriptAccessPin"

From Second Life Wiki
Jump to navigation Jump to search
m (Added caveat about not being able to find out of a script pin has been set (aka as "The day I broke the CasperLet Updates of a customer"))
m (Spelling (wether > whether))
 
Line 10: Line 10:
***This could result in unintentionally breaking a products ability to be updated by an upstream creator.
***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.
***This can be used to intentionally stop an upstream creator from updating a product.
***There is no way to find out wether a script pin has been set by another script in the prim. If the prim contains scripts from other developers, the safe approach is to assume a script pin has been set by an upstream creator.
***There is no way to find out whether a script pin has been set by another script in the prim. If the prim contains scripts from other developers, the safe approach is to assume a script pin has been set by an upstream creator.
|constants
|constants
|examples
|examples

Latest revision as of 05:41, 7 October 2024

Summary

Function: llSetRemoteScriptAccessPin( integer pin );
0.2 Forced Delay
10.0 Energy

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

• integer pin zero disables (ie llRemoteLoadScriptPin will fail), 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.
      • There is no way to find out whether a script pin has been set by another script in the prim. If the prim contains scripts from other developers, the safe approach is to assume a script pin has been set by an upstream creator.

Examples

See Also

Functions

•  llRemoteLoadScriptPin Used to load a script into a remote prim

Deep Notes

Signature

function void llSetRemoteScriptAccessPin( integer pin );