Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: greg on February 22, 2013, 09:54:49 AM

Title: Detach Child [SOLVED]
Post by: greg on February 22, 2013, 09:54:49 AM
So there's a "detach children" block, but how do i detach a single child?

Basically i have a room, with a bunch of doors parented to it. I want to make one of the doors the rooms parent - but it wouldn't work, and i suspected because the door was a child of the room, so i'd have to detach it first. But i want all the other objects still parented to the room.

Thanks
Title: Re: Detach Child
Post by: Red on February 22, 2013, 03:26:08 PM
If i'm understanding this correctly, you could use the "Set Parent" action and leave the "parent" field as blank... I've used that to detach grenades from the "Grenade pool" system i've got set up so that it can then be acted upon without risking altering any of the other items in the pool or the pool itself.
Title: Re: Detach Child
Post by: greg on March 04, 2013, 01:34:15 PM
Didn't think of that. Thanks :)