Im sorry everyone to bother you , does anyone know how to make when gwtext right click or clicked do some action, like this:
s
Thanks for the info
Best regard
Fajar
Forum topic · General Scripting
By fajar · 2012-11-28
Im sorry everyone to bother you , does anyone know how to make when gwtext right click or clicked do some action, like this:
s
Thanks for the info
Best regard
Fajar
fajar · 2012-11-30
@Mr.Frodo : I sent you email
please check it out
Thanks and Best regard
fajar
br0t · 2012-11-29
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?
fajar · 2012-11-29
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.
fajar · 2012-11-29
Ok thanks ill lookout to it.
br0t · 2012-11-28
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.posclickno.