LlRemoteLoadScriptPin

From Second Life Wiki

Jump to: navigation, search

Contents

Description

Function: llRemoteLoadScriptPin( key target, string name, integer pin, integer running, integer start_param );
253 Function ID
3.0 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 a script in the prim's inventory
• 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 or it is not a script then an error is shouted on DEBUG_CHANNEL.
  • start_param survives script reset, and will only be set to the default if the object is taken into inventory.

Examples

See Also

Functions

•  llSetRemoteScriptAccessPin Used to setup a prim for remote loading
Personal tools