Time for another Recap. You should now have the following script.
MainFloater = NewRolloutFloater "Link To Vertex" 300 315You 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.
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