Link Hierarchy

hi,
can someone help me write a script,which creates a hierarchy between boxes?

example

i have box01 to box100

now i want to linke box101_ to box200 so that
box101 is linked to 01
102 to 02
until box 200 is linked to box 100
is that possible so i dont have to do that manually?

thanks alot for ur help
ian

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Graph's picture

give me 3 names of the bone

give me 3 names of the bone you want to link to and 3 of the boxes ;)

i assume you need it to easily equip weapons or other items to the masses?

Raphael Steves

sirana21's picture

HI. Help me please to link

HI. Help me please to link some object to biped. For example I have 50 bipeds and I want to link an obj to all biped's left arm, doing it with one I want it to happened with all bipeds.

W DIGITAL's picture

yohooo

wow garp
that did the trick!!!

give me your email and ill reward u with a max scene :)
THANKS ALOT
ian

Garp's picture

Assuming 200 boxes named and

Assuming 200 boxes named and sequentially numbered as in your example, this should do:

for i = 1 to 100 do $[i+100].parent = $[i]

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.