<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlBreakAllLinks</id>
	<title>LlBreakAllLinks - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlBreakAllLinks"/>
	<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlBreakAllLinks&amp;action=history"/>
	<updated>2026-10-25T11:17:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wiki.osgrid.org/index.php?title=LlBreakAllLinks&amp;diff=70&amp;oldid=prev</id>
		<title>Osgridadmin: /* Function: llBreakAllLinks( ); */</title>
		<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlBreakAllLinks&amp;diff=70&amp;oldid=prev"/>
		<updated>2017-12-30T16:09:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Function: llBreakAllLinks( );&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Function: llBreakAllLinks( );==&lt;br /&gt;
Delinks all prims in the link set.&amp;lt;br&amp;gt;&lt;br /&gt;
Requires the [[PERMISSION_CHANGE_LINKS]] permission, granted by the owner, to run. &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Caveats&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
• Do not depend upon the auto-grant status of permissions. Always use the run_time_permissions event.&amp;lt;br&amp;gt;&lt;br /&gt;
• If the script lacks the permission [[PERMISSION_CHANGE_LINKS]], the script will shout an error on [[DEBUG_CHANNEL]] and the operation fails (but the script continues to run).&amp;lt;br&amp;gt;&lt;br /&gt;
• If [[PERMISSION_CHANGE_LINKS]] is granted by anyone other than the owner, then when the function is called an error will be shouted on [[DEBUG_CHANNEL]].&amp;lt;br&amp;gt;&lt;br /&gt;
• Once the [[PERMISSION_CHANGE_LINKS]] permission is granted there is no way to revoke it. The script will only lose the permission if it is reset or the object derezzed (deleted, detached, or taken).&amp;lt;br&amp;gt;&lt;br /&gt;
• This function fails if the owner does not have edit permissions on the object containing the script, the system message &amp;quot;Delink failed because you do not have edit permission&amp;quot; is received by the owner. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
//-- requests permission to change linkes, then breaks all links on touch.&lt;br /&gt;
default{&lt;br /&gt;
  state_entry(){&lt;br /&gt;
    llRequestPermissions( llGetOwner(), PERMISSION_CHANGE_LINKS );&lt;br /&gt;
  }&lt;br /&gt;
 &lt;br /&gt;
  run_time_permissions( integer vBitPermissions ){&lt;br /&gt;
    if (PERMISSION_CHANGE_LINKS &amp;amp; vBitPermissions){&lt;br /&gt;
      state sMain;&lt;br /&gt;
    }else{&lt;br /&gt;
      llResetScript();&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
state sMain{&lt;br /&gt;
  touch_start( integer vIntTouched ){&lt;br /&gt;
    llBreakAllLinks();&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
See Also &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Events&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[run_time_permissions]] 	– 	Permission receiving event 	&amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[changed]] 	– 	[[CHANGED_LINK]] 	&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Functions&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llGetPermissions]] 	– 	Get the permissions granted 	&amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llGetPermissionsKey]] 	– 	Get the agent who granted permissions 	&amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llRequestPermissions]] 	– 	Request permissions 	&amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llBreakLink]] 	– 	Break a link 	&amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llCreateLink]]	– 	Link to another object 	&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Osgridadmin</name></author>
	</entry>
</feed>