ctrl clicking buttons
Hi guys,
I'm new to maxscript, and have just created a rollout with buttons for selecting bones on a rig which isn't biped.
I am trying to make it so that you can control click other buttons and they will be added to the selection, but i'm really struggling at the moment.
I know it has something to do with 'if keyboard.controlpressed == true then"
But im stuck after that!
Any help would be greatly appreciated as im sure its something really easy!
Comments
You already got it
You already got it :)
rollout rlTest "" (
button b "Button" width:100 height:30 pos:[0,0]
on b pressed do (
if keyboard.controlPressed then (
messagebox "CTRL ya"
)
else (
messagebox "CTRL no"
)
)
)
createDialog rlTest 100 30
thank you so much for your
thank you so much for your help! :)