cassius Posted April 16, 2012 Share 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++ Link to comment Share on other sites More sharing options...
Aily Posted April 17, 2012 Share 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" Link to comment Share on other sites More sharing options...
cassius Posted April 17, 2012 Author Share 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++ Link to comment Share on other sites More sharing options...
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.