Difference between revisions of "LlDie"

From Second Life Wiki
Jump to navigation Jump to search
m (Sorry, but ... (float) TRUE is horrible, and having to explain PUBLIC_CHANNEL every time it's used, defeats the purpose)
Line 75: Line 75:
|cat1=Object
|cat1=Object
|cat2=Stop
|cat2=Stop
|cat3
|cat3=Cleanup
|cat4
|cat4
}}
}}

Revision as of 00:27, 18 July 2013

{{LSL_Function |inject-1= |inject-2= |func=llDie |sort=Die |func_id=41|func_sleep=0.0|func_energy=0.0 |func_footnote=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. |func_desc=Deletes the object. The object does not go to the owners Inventory:Trash. |return_text |spec |caveats=

  • The script may not stop executing immediately after this function is called (SVC-7421).
  • 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.

|constants |examples= <lsl> default {

   state_entry()
   {
       // red and opaque text
       llSetText("