Difference between revisions of "LlDie"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 5: Line 5:
|func_id=41|func_sleep=0.0|func_energy=0.0
|func_id=41|func_sleep=0.0|func_energy=0.0
|func_footnote=If called in any prim in the {{LSLG|link set}} the result will be the deletion of the entire object.{{PBR}}To remove a single prim from an object use [[llBreakLink]] first.
|func_footnote=If called in any prim in the {{LSLG|link set}} the result will be the deletion of the entire object.{{PBR}}To remove a single prim from an object use [[llBreakLink]] first.
|func_desc=Deletes the object. The object does not go to the owners Inventory:Trash.
|func_desc=Törli a tárgyat. a megsemmisített tárgy nem fog megjelenni az inventory lomtárjában:Trash.
|return_text
|return_text
|spec
|spec

Revision as of 11:48, 31 March 2012

Summary

Function: llDie( );

Törli a tárgyat. a megsemmisített tárgy nem fog megjelenni az inventory lomtárjában:Trash.

If called in any prim in the link set the result will be the deletion of the entire object.To remove a single prim from an object use llBreakLink first.

Caveats

  • After this function is called there is no way to undo the deletion of the object.
  • Has no effect if called from within an attachment; there is no way to delete an attachment.
All Issues ~ Search JIRA for related Bugs

Examples

Useful Snippets

llRemoveInventory of llGetScriptName deletes just the calling script, rather than all of the object that the calling script contains. For instance, you can write a script that chats a little when dragged on to an object from inventory and then politely disappears itself, such as: <lsl> // http://wiki.secondlife.com/wiki/llDie default {

   state_entry()
   {
       llOwnerSay("llGetRegionTimeDilation()");
       llOwnerSay((string) llGetRegionTimeDilation());
       llRemoveInventory(llGetScriptName());
   }

} </lsl>

See Also

Functions

•  llDetachFromAvatar
•  llBreakLink

Articles

•  Attachment

Deep Notes

All Issues

~ Search JIRA for related Issues
   llDie() function does not immediately stop a script

Signature

function void llDie();