LlBreakAllLinks
Looking for the current API? Open the llBreakAllLinks reference →
Wiki description
Delinks all prims in the link set.
Caveats
- This function fails if the owner does not have edit permissions on the object containing the script, the system message "Delink failed because you do not have edit permission" is received by the owner.
Examples
//-- requests permission to change linkes, then breaks all links on touch.
default{
state_entry(){
llRequestPermissions( llGetOwner(), PERMISSION_CHANGE_LINKS );
}
run_time_permissions( integer vBitPermissions ){
if (PERMISSION_CHANGE_LINKS & vBitPermissions){
state sMain;
}else{
llResetScript();
}
}
}
state sMain{
touch_start( integer vIntTouched ){
llBreakAllLinks();
}
}See also: functions
See also: events
Additional wiki content
LSL Function/permission:
{{LSL_Function/permission|PERMISSION_CHANGE_LINKS|grant=the owner}}Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.