ScriptSpot

Forum topic · General Scripting

I need help about keyboard controls of 3ds Maxscript

By _MeXt4F4_ · 2008-05-27

Description

Hey everyone.I have a project about maxscript. I must rotate the drawed object for example box with keyboard arrow keys(up,down,right,left). I need lots of help. Please help me..

Sorry for small English^^

Thank You..

contact me: id_MuSt4F4_æhotmail.com
_MeXt4F4_

Comments (1)

johnsmithimages · 2008-06-06

That's easy. Easier if you use the numpad because they are real caracters.

You use a getkbchar function. car = ketkbchar()
then a choice if (char == 8) then do ( whatever you like)

If you have a lot of "if" better use a "case of" instruction.

Hope it helps.