Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: WitchTheWicked on January 03, 2012, 07:41:34 PM

Title: Recursive Set Layer
Post by: WitchTheWicked on January 03, 2012, 07:41:34 PM
This script sets all the children of the parent layer to a layer value.
If you want me to make this truly recursive (where it calls on children's children then reply and I will do so)

I just wanted to give back to playmaker I felt like  a huge noob but because of alec and jane's help I am an expert at PlayMaker (atleast comparatively xD)

Dedicated to jane and alec:
Credit : Witch (coder)

[EDIT] Attached a new version of it that properly affect ALL childrens, not just the firsts.
Title: Re: Recursive Set Layer
Post by: mrbdrm on June 26, 2012, 05:00:46 AM
Thank you
i just needed this and its working nice :)
Title: Re: Recursive Set Layer
Post by: jeanfabre on June 26, 2012, 05:29:00 AM
Hi,

 great! One quick note, you can remove all together OnUpdate() as you do nothing, you don't have to implement it if you don't use it.

 bye,

 Jean

ps: is alec and Jane actually "Alex" and "Jean" ?