x


what happens when Unit in Hierarchy is destroyed?

I have a unit called Girl who's parent is mover, who's parent is Girlbots. what happens when mover is destroyed? is Girlbots (the root) the new parent of Girl automatically?

eg.

Girlbots
--Mover
----Girl
  |
  |
  |
 Mover dies and it goes to:
  |
  |
  |
Girlbots
--Girl 
??
more ▼

asked May 03 '10 at 06:14 PM

Jordan Miller gravatar image

Jordan Miller
70 6 6 9

(comments are locked)
10|3000 characters needed characters left

1 answer: sort oldest

No. Girl would be destroyed. Whenever a parent is destroyed, all its children would be destroyed unless you script otherwise by making the children children of another object.

more ▼

answered May 03 '10 at 06:15 PM

e.bonneville gravatar image

e.bonneville
5.7k 100 116 165

thanks! I'll have to do that then.

May 03 '10 at 06:43 PM Jordan Miller

@Jordan Miller no prob, happy to help.

May 03 '10 at 06:45 PM e.bonneville
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x426
x413
x149

asked: May 03 '10 at 06:14 PM

Seen: 868 times

Last Updated: May 03 '10 at 06:14 PM