Page 1 of 1
Parents and scripts.
Posted:
Wed Jan 04, 2006 2:52 am
by Joat_Mone
Hi again,
Do the child's inherent the scripts attached with the parents? It would make things alot easier if I can make a collision check with the parent, and have all the childs inherit the check. Alot less scripts I need to fill out.
Matt
Parents and scripts. - The answer
Posted:
Wed Jan 04, 2006 3:01 am
by Joat_Mone
It looks like they dont. I tried just making a simple collision script and it worked against the parent, but not the child.
Re: Parents and scripts.
Posted:
Wed Jan 04, 2006 12:07 pm
by makslane
Joat_Mone wrote:Do the child's inherent the scripts attached with the parents?
No, you need to set the "Inherit" option in the Actor Control if you need inherit events from other actors.
Re: Parents and scripts.
Posted:
Wed Jan 04, 2006 3:48 pm
by Joat_Mone
I tried that, but it still doesnt seem to inherit the script from the parent.
Re: Parents and scripts.
Posted:
Thu Jan 05, 2006 12:00 am
by Joat_Mone
After playing around I found the "clone" button. It will do what I wanted without making things parents and children. Sorry about being dense, but I'm still learning about programming.