Keep 3DLuVr online!
3DLuVr Logo
Sections
Articles
 From the Real World
 Digital Painting Series
 Featuring of...
 On the Bookshelf
Tutorials
 3ds max
 LightWave3D
 Softimage XSI
 Rhinoceros 3D
 Video Tutorials
FunZone menu
 I always wanted to be
 Talk to an employer
 Why Ask "Why"
TechZone menu
 Hardware Reviews
 Software Reviews
 Benchmarking
 Q&A, Tips & Tricks
UserZone menu
 The Artist Sites
 15 Min of Fame
 Request an Account
 Current Assignment
 Sponsors & Prizes
 Make a Submission
 Voting Booth
 Competition Rules
About menu
 Mission Statement
 Policies
 Advertising
 Comments
 Poll Archive
 Links
 How to IRC
 Donations
Login
Log in to be able to post comments to the news items, forum posts, and other facilities.
Username: 
 
Password: 
Not registered? Register!     Lost Password?
Poll
 Your New Year`s Resolution is...
Gain employment
Stop smoking/drinking/etc
Get back in shape
Find the meaning of life
Conquer the World
Absolutely nothing

    Poll Results
Comments
Want to leave us a comment about the site or in general? Click here to access the form.
ArtZone Heading
Link Object to a Vertex
Added on: Mon Aug 14 2000
Page: 1 2 3 4 6 7 8 9 10 

I like to organize my script by using tabs. Now hit Ctrl + E and you should have a floater like this:



Lets add the next part, the selection of the child object (or the object you are linking to the vertex). Type the following after the " ) -- Close Group" since this is a new group:

    group "Pick Child" (
    Label childL "Select Child Object"
    PickButton GetChild_PB "Get Child"
    Label childnameL "Child Object: (none)"
    ) -- close group


This makes the second Group. This is basically the same as the last group except that you are using a different type of button.
The PickButton has the same parameters as the Button but when you push it, it puts you into a selection mode. Where you have to pick an object in the scene. As you may have noticed I like to make my names descriptive of what they are. You can pick whatever names you want. But it is much easier to use descriptive names.

If you want hit Ctrl + E to see what you just added.

Now it is time to add the link button and respective group.

    group "Link ME Plz!" (
    Button LinkME_Button "Link ME!" enabled:off
    ) --close group
Since this is pretty straight forward I didn't include any labels. However there is something different with this button. After the second parameter I included enabled:off. Buttons have the property of being enabled or disabled.
Enabled is just the property to turn on or turn off the button. The default is on, but I changed it to off.
I want you to do pick the object and vertex before you link anything. That way you don't have problems. The off is a built in value, like true, false, on, and undefined.



 
1997-2017 3DLuVrTM (Three Dee Lover)
Best viewed in 1024x768 or higher,
using any modern CSS compliant browser.