playMaker

Author Topic: Detach Child [SOLVED]  (Read 3125 times)

greg

  • Junior Playmaker
  • **
  • Posts: 68
Detach Child [SOLVED]
« 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
« Last Edit: March 11, 2013, 01:15:02 AM by Alex Chouls »

Red

  • Hero Member
  • *****
  • Posts: 563
Re: Detach Child
« Reply #1 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.

greg

  • Junior Playmaker
  • **
  • Posts: 68
Re: Detach Child
« Reply #2 on: March 04, 2013, 01:34:15 PM »
Didn't think of that. Thanks :)