MXS: struct definition, local variables, declaration order etc...

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2013   #16
Originally Posted by wallworm: Josef... you mention using "this" (like this.varA) . How far back is this compatible. I used this when I first starting MAXScript in a struct for a while (as it's how I'm used to programming in other languages) but got a bunch of emails from people who had MAXScript exceptions when I used that. I had to update the code to never use this.property (though for whatever versions of Max I was testing it always worked).

How commonly does anyone here use this ?


i use this a lot. it was added to structure system about 10 years ago. max 8???
 
Old 03 March 2013   #17
I think you're wrong. Doesn't work on max 2009. It's either 2010 or 2011. Perhaps you mean this in the context of a controller, which was max8 I think.
 
Old 03 March 2013   #18
Originally Posted by lo: I think you're wrong. Doesn't work on max 2009.

really? max 2010 has it.
 
Old 03 March 2013   #19
Originally Posted by denisT: really? max 2010 has it.


I am pretty sure that when I started writing MAXScript, I was using either 3ds Max 2010 or 2011. All was fine in a certain script until I changed to using this.whatever in a game exporter I work on, and a bunch of users sent complaints ... so I had assumed at the time that this was only recently added. So I've avoided it since.
__________________
Shawn Olson
Autodesk Expert Elite
3ds Max Charter Member

Developer of:
Wall Worm Tools for the Source Game Engine
CorVex Level Design Plugin
 
Old 03 March 2013   #20
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 06:59 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.