Difference between revisions of "LlSetRemoteScriptAccessPin"

From Second Life Wiki
Jump to navigation Jump to search
m (Typo correction.)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{LSL Function
{{LSL Function
|func_id=252
|func_id=252|func_sleep=0.2|func_energy=10.0
|func_sleep=0.2
|func_energy=10.0
|func=llSetRemoteScriptAccessPin
|func=llSetRemoteScriptAccessPin
|p1_type=integer
|p1_type=integer|p1_name=pin|p1_desc=zero disables (ie [[llRemoteLoadScriptPin]] will fail), non-zero enables.
|p1_name=pin
|func_desc=Allows a prim to have scripts remotely loaded via [[llRemoteLoadScriptPin]] when it is passed the correct pin and the prim is set mod.
|func_desc=If pin is set to a non-zero number, the task will accept remote script<br />loads via llRemoteLoadScriptPin if it passes in the correct pin.
|func_footnote
Othersise, llRemoteLoadScriptPin is ignored.
|spec
|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
|examples
|helpers
|also_functions={{LSL DefineRow||[[llRemoteLoadScriptPin]]|Used to load a script into a remote prim}}
|also_tests
|also_events
|also_articles
|notes
|cat1=Script
|cat2
|cat3
|cat4
|}}
|}}
[[Category:LSL Functions|Set Remote Script Access Pin]]
[[Category:LSL Stub]]

Latest revision as of 13:41, 4 March 2021

Summary

Function: llSetRemoteScriptAccessPin( integer pin );

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.
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 );