Yeah , pretty simple as you said ;-) and effective.
I don't know at all c++ and other stuff like this, i only use actionscript. So i don't know it both use the same type of codes, but the code you posted above is very similar to As.

Well it would be great , very fantastic if you can post some tutorial for games, particularly for rpg/mmorpg. ;-)
I'm not very good in 3d Smax so , i aim an isometric 3d "cartoon/fantaisie style" game.
But i suppose i don't know how to make a isometric 3d motor (if i need one, maybe i don't).
Besides, it would be very helpful, and generous if you can do it ;-)

Another question, what type of code do you use for yours games and do you use also As ?