Adding a kit part to a bone

Ask questions, discuss ideas, get answers
Post Reply
Ruuga
Posts: 44
Joined: Wed Jul 14, 2010 12:25 pm

Adding a kit part to a bone

Post by Ruuga »

I would need to add a certain kit part to a bone named "Bip01 L UpperArm" but the problem is that it's name has spaces in it.

SetBoneName -property seems to end the first argument when it encounters space-char or the end of the row. Is there any way to bypass this? I tried to create a bone to the ussoldier-skeleton that would be a child of the bone "Bip01 L UpperArm" but I just can't figure out how to use gmax properly so it didn't work.. :D

EDIT: Oh. I didn't think about adding these (") in front of and after the name. Now it works. So if someone else has this problem just do this:

Code: Select all

ObjectTemplate.SetBoneName "Bip01 L UpperArm"
Post Reply