How do you get the name of a limb

Blitz3D Forums/Blitz3D Beginners Area/How do you get the name of a limb

monotonic(Posted 2008) [#1]
Hi,

I was wondering if anybody knows how to get the name of a limb from within a mesh that has been loaded previously.

Thanks in advance.


Stevie G(Posted 2008) [#2]
Assuming you've named it something and it's a child entity then you could use findchild() or iterate through the children and their children etc.. to see what they're called.

Stevie


GfK(Posted 2008) [#3]
EntityName() returns the name of an entity. That includes bones.


monotonic(Posted 2008) [#4]
Ahh ok, so every limb of an entity is essentially a seperate child entity of its parent, that makes sense. So that means removing a limb from one entity and attaching it to another is just a case of setting its parent, how cool is that I'm so glad I moved from DGDK to B3D SDK.

Thanks guys.