ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Yes I thought about that today and have to admit mouse tool is a really bad idea for this :D Was just my first thought, though. I am not sure if there is any other way to check for mouse events in MAXScript... Would be cool, anyone has an idea?
try to look out it for the first, try it, but I have no idea how to always get function right click activated everytime I right click on that spot, cause in mouse tools only work once, when you abort it you can get it back again , you must start the tool again, I know how to make gw text...but dont know what event I must use to triger the right clik function everytime i click on that spot.like in the max viewport I showed. I know little about mouse.pos.
To draw text on the screen you would probably need to install a drawing function registerRedrawViewsCallback myFunction. You would then have to check that area for if your mouse is hovering above it, and for mouse clicks. I guess you will have to use a scripted mouse tool (look for "Scripted Mouse Tools" in the docs) checking mouse.pos clickno.
Comments
@Mr.Frodo : I sent you
@Mr.Frodo : I sent you email
please check it out
Thanks and Best regard
fajar
Yes I thought about that
Yes I thought about that today and have to admit mouse tool is a really bad idea for this :D Was just my first thought, though. I am not sure if there is any other way to check for mouse events in MAXScript... Would be cool, anyone has an idea?
Never get low & slow & out of ideas
try to look out it for the
try to look out it for the first, try it, but I have no idea how to always get function right click activated everytime I right click on that spot, cause in mouse tools only work once, when you abort it you can get it back again , you must start the tool again, I know how to make gw text...but dont know what event I must use to triger the right clik function everytime i click on that spot.like in the max viewport I showed. I know little about mouse.pos.
Thanks brot , any other idea.
Ok thanks ill lookout to it.
Ok thanks ill lookout to it.
To draw text on the screen
To draw text on the screen you would probably need to install a drawing function
registerRedrawViewsCallback myFunction. You would then have to check that area for if your mouse is hovering above it, and for mouse clicks. I guess you will have to use a scripted mouse tool (look for "Scripted Mouse Tools" in the docs) checkingmouse.posclickno.Never get low & slow & out of ideas