llCreateLink

From Second Life Wiki
Revision as of 19:32, 16 April 2007 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

Summary

Function: llCreateLink( key target, integer parent );
1.0 Forced Delay
10.0 Energy

Attempt to link the script's object with target.

• key target A prim in the same region.
• integer parent If FALSE, then target becomes the root.

To run this function the script must request the PERMISSION_CHANGE_LINKS permission with llRequestPermissions and it must be granted by the owner.

Caveats

  • This function causes the script to sleep for 1.0 seconds.
Permissions
  • Shouts an error on DEBUG_CHANNEL if target isn't in the region or an object.

Examples

See Also

Events

•  run_time_permissions Permission receiving event

Functions

•  llGetPermissions Get the permissions granted
•  llGetPermissionsKey Get the agent who granted permissions
•  llRequestPermissions Request permissions
•  llBreakLink Break a link
•  llBreakAllLinks Break all links

Articles

•  Script permissions

Deep Notes

Signature

function void llCreateLink( key target, integer parent );