Talk:Nil: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JustinP231
No edit summary
>JustinP231
No edit summary
Line 1: Line 1:
Hey, we need to do a bit of cleanup on this article, ok? Also, I did some testing, and you can recover items deleted with :remove, but :remove makes the parent of all the item's children nil as well. -- [[User:JustinP231|JustinP231]] 07:58, 8 May 2008 (CDT)
Hey, we need to do a bit of cleanup on this article, ok? Also, I did some testing, and you can recover items deleted with :remove(), but :remove() makes the parent of all the item's children nil as well, so if you did recover the item, it would have no children that it previously had. Just setting the parent to nil, however, allows you to recover the object AND all of it's children, by resetting the parent. -- [[User:JustinP231|JustinP231]] 07:58, 8 May 2008 (CDT)

Revision as of 12:59, 8 May 2008

Hey, we need to do a bit of cleanup on this article, ok? Also, I did some testing, and you can recover items deleted with :remove(), but :remove() makes the parent of all the item's children nil as well, so if you did recover the item, it would have no children that it previously had. Just setting the parent to nil, however, allows you to recover the object AND all of it's children, by resetting the parent. -- JustinP231 07:58, 8 May 2008 (CDT)