cassius Posted April 16, 2012 Posted April 16, 2012 I am trying to use user defined types in Bmax.I havn't bothered with them up to now but am curious to see if they have any benifits. I nered to group my characters into yypes.Here is some untested code Type actor field model:TMesh field control:TController field x :float field y :float field z :float field health:int EndType Knight:actor = new(actor) Is this code looking ok or have I got something wrong or missing? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
Aily Posted April 17, 2012 Posted April 17, 2012 All is correct, only this Knight:actor = new(actor) I always written Knight:actor = new actor Quote "Better" is big enemy of "good"
cassius Posted April 17, 2012 Author Posted April 17, 2012 Thanks for checking. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.