8,452
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 1,275: | Line 1,275: | ||
objShell.Run strPath | objShell.Run strPath | ||
{| border=0 cellpadding=0 align=right | |||
| SelectNeighborObj obj 5<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XSI_modding/SelectNeighborObj_obj_5.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/XSI_modding/SelectNeighborObj_obj_5_tn.png] | |||
|} | |||
' '''[33] working with hierarchies''' | ' '''[33] working with hierarchies''' | ||
Line 1,302: | Line 1,306: | ||
' caution: if the 3rd parameter is set to siMeshFamily | ' caution: if the 3rd parameter is set to siMeshFamily | ||
' then the selected object will be also counted | ' then the selected object will be also counted | ||
' find the root object of the hierarchy, any object could be selected | ' find the root object of the hierarchy, any object could be selected | ||
SelectNeighborObj selection(0), 4 | SelectNeighborObj selection(0), 4 | ||
' go through the hierarchy in different directions | ' go through the hierarchy in different directions | ||
' SelectNeighborObj [parameter1], [parameter2], [parameter3], [parameter4] | ' SelectNeighborObj [parameter1], [parameter2], [parameter3], [parameter4] | ||
Line 1,316: | Line 1,319: | ||
' 3 go to previous silbing | ' 3 go to previous silbing | ||
' 4 go to highest level | ' 4 go to highest level | ||
' 5 go to deepest level | ' 5 go to deepest level of current selected obj | ||
' 5: if there are more than one children, the path goes always for the first (left) child (see image) | |||
' select the hierarchy as a whole | ' select the hierarchy as a whole | ||
SelectObj "left_thigh", "TREE", true | SelectObj "left_thigh", "TREE", true |
edits