Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Davision on June 23, 2012, 02:32:16 PM

Title: [SOLVED] Hide Parent+Children?
Post by: Davision on June 23, 2012, 02:32:16 PM
I would like to hide a parent and all its children at once, is there a way to do this without turning off the script of the parent and the collisions of the childs?

I dont want to hide each children on its own with a loop because there a lot of children and after the hide it needs to unhide very quick again.
Title: Re: Hide Parent+Children?
Post by: kiriri on June 23, 2012, 03:26:35 PM
I don't know if there's any educated way of doing this.... but I'd just transform it by 100000 on the y axis to hide it, and by -100000 to show it again. It all happens in one frame so there's no way the player could say it was moved.
Title: Re: Hide Parent+Children?
Post by: Davision on June 23, 2012, 03:39:41 PM
Yea, that would be a good way to do it but changing the position of the collisions will break it for me.
Title: Re: Hide Parent+Children?
Post by: jeanfabre on June 23, 2012, 04:02:37 PM
Hi,

 Maddox has it all covered for you :)

http://hutonggames.com/playmakerforum/index.php?topic=159.0 (http://hutonggames.com/playmakerforum/index.php?topic=159.0)

bye,

 Jean
Title: Re: Hide Parent+Children?
Post by: Davision on June 23, 2012, 04:31:36 PM
Sweet!