|
|
Link Object to a Vertex Added on: Mon Aug 14 2000 |
Page: 1 2 3 4 5 6 7 8 9 10 |
Time for another Recap. You should now have the following script.
MainFloater = NewRolloutFloater "Link To Vertex" 300 315
Rollout Vert_Linker "Vertex Linker" (
group "Pick Vert" (
Label getvert1L "Select a vertex to be parent"
Label getvert2L "then hit 'Get Selected Vert' "
Button GetVert_Button "Get Selected Vert"
Label vertnumL "Vertex Number: (none selected)"
) -- Close Group
group "Pick Child" (
Label childL "Select Child Object"
PickButton GetChild_PB "Get Child"
Label childnameL "Child Object: (none)"
) -- Close group
group "Link ME Plz!" (
Button LinkME_Button "Link ME!" enabled:off
) -- CLose group
) -- Close Rollout
addRollout Vert_Linker MainFloater You are now finished the User interface part of the script. The only thing that remains is to define what happens when you push the buttons. Hit Ctrl + E to see the script so far. Go ahead and push some of the buttons. Nothing will happen.
|
|
|