Talk:LlDie: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Gwyneth Llewelyn (talk | contribs)
Frionil Fang (talk | contribs)
 
Line 21: Line 21:


— [[User:Gwyneth Llewelyn|Gwyneth Llewelyn]] ([[User talk:Gwyneth Llewelyn|talk]]) 05:24, 30 January 2025 (PST)
— [[User:Gwyneth Llewelyn|Gwyneth Llewelyn]] ([[User talk:Gwyneth Llewelyn|talk]]) 05:24, 30 January 2025 (PST)
:: I admit I haven't tried it beyond a cursory test, but the object deleting itself isn't a state change (the only state changes are caused by the "state" statement, being rezzed or derezzed are not state changes) so it doesn't seem like it should happen to me. --[[User:Frionil Fang|Frionil Fang]] ([[User talk:Frionil Fang|talk]]) 14:16, 30 January 2025 (PST)

Latest revision as of 15:16, 30 January 2025

- If the prim containing this script is part of a linkset, all the prims will be deleted, regardless of whether or not the prim is the root or a child in the linkset.

Should warn that objects deleted via llDie are not returned to the owner's inventory, there is no way to get them back. Lilly Zenovka 11:14, 10 February 2007 (PST)

*updates* I've made some changes, check it out? Strife Onizuka 05:42, 10 February 2007 (PST)

llBreakLink

llBreakLink should probably be mentioned as an alternative to deleting an entire object.

SignpostMarv Martin 06:36, 9 March 2007 (PST)

Good idea. Strife Onizuka 17:41, 9 March 2007 (PST)

Is state_exit ever called as a result of llDie()?

I was wondering if an object could do a 'last chance cleaning up' on state_exit (including on the default state) when the object (as a whole) indicates all prims should get deleted.

My own tests so far were inconclusive 🙂

Gwyneth Llewelyn (talk) 05:24, 30 January 2025 (PST)

I admit I haven't tried it beyond a cursory test, but the object deleting itself isn't a state change (the only state changes are caused by the "state" statement, being rezzed or derezzed are not state changes) so it doesn't seem like it should happen to me. --Frionil Fang (talk) 14:16, 30 January 2025 (PST)