Difference between revisions of "LlRemoteLoadScriptPin"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=253|func_sleep=3.0|func_energy=10.0|func=llRemoteLoadScriptPin|p1_type=key|p1_name=target|p2_type=string|p2_name=name|p3_type=integer|p3_name=pin|p4_type=integer|p4_name=running|p5_type=integer|p5_name=start_param|func_footnote=If the owner of the object this script is attached can modify target,<br />they are in the same region,<br />and the matching pin is used,<br />copy script name onto target,<br />if running == TRUE, start the script with param.|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function/inventory|name|uuid=false}}
{{LSL_Function
|func_id=253|func_sleep=3.0|func_energy=10.0
|func=llRemoteLoadScriptPin
|p1_type=key|p1_name=target|p1_desc=A prim in the same sim
|p2_type=string|p2_name=name|p2_desc
|p3_type=integer|p3_name=pin|p3_desc=Must match pin set by [[llSetRemoteScriptAccessPin]]
|p4_type=integer|p4_name=running|p4_desc=boolean, if the script is to be set as running.
|p5_type=integer|p5_name=start_param|p5_desc=value returned by [[llGetStartParameter]] in the target script.
|func_footnote=Only works if the owner of the object this script is attached to can modify '''target'''.
|func_desc=Copy script '''name''' into '''target''' and if '''running''' start with '''start_param'''.
|return_text
|spec
|caveats
|constants
|examples
|helpers
|also_functions={{{!}}
{{LSL DefineRow||[[llSetRemoteScriptAccessPin]]|Used to setup a prim for remote loading}}
{{!}}}
|also_tests
|also_events
|also_articles
|notes
|cat1=Script
|cat2
|cat3
|cat4
}}

Revision as of 00:25, 22 February 2007

Summary

Function: llRemoteLoadScriptPin( key target, string name, integer pin, integer running, integer start_param );
3.0 Forced Delay
10.0 Energy

Copy script name into target and if running start with start_param.

• key target A prim in the same sim
• string name an item in the inventory of the prim this script is in
• integer pin Must match pin set by llSetRemoteScriptAccessPin
• integer running boolean, if the script is to be set as running.
• integer start_param value returned by llGetStartParameter in the target script.

Only works if the owner of the object this script is attached to can modify target.

Caveats

  • This function causes the script to sleep for 3.0 seconds.
  • If name is missing from the prim's inventory then an error is shouted on DEBUG_CHANNEL.

Examples

See Also

Functions

•  llSetRemoteScriptAccessPin Used to setup a prim for remote loading

Deep Notes

Signature

function void llRemoteLoadScriptPin( key target, string name, integer pin, integer running, integer start_param );