Yeah, or you can cast it as a float <font class="small">Code:</font><hr /><pre> int $a = 5; print ("float a= " + (float)$a/2 + " but int a= " + $a/2 ); </pre><hr />
Hey sama.van, thanks! I edited your post to put "code" tags around the code blocks, I think that's better for tabulation. Regarding the int/float thing, I guess it's possible to convert any int input into a float before using it as a value for a command? In Maxscript you can just say "variable as float" and it will convert…
For say right, since I use Maya I bagan to learn Mel script... Because maya suck for lot of reasons... (has good snap tools but...) So, about move objects in absolute world, you have some Mel script commands.. then for move all your selection in absolute position : <font class="small">Code:</font><hr /><pre>float…
IxenonI: Thanks, I didn't know about the component editor. That's useful... however I'd still like to be able to have the values show up in the XYZ fields at the right of the Status Line, just so I don't have to have the Component Editor floating around all the time. I guess I'll have to script that myself. Pretty much…