How do i create a line with pre specified number of verts and then do something?
so i belive what i am trying to do is very siple.
lets say i want to create a line with 3 points and after i click the right mouse button to stop the creation it will messagebox = "aaa"
but.. if i try to do something like this:
StartObjectCreation Line
messagebox "aaa"
the "aaa" will show on the first click not after i right click
if i try some mouse tool it will kind of abort the mousetool
i tryed lots of callbacks without any luck
so.. theres any way to do it?
Comments
oops...
Sorry, my bad, I write this by memory, here is correct one:
Also dunno why if numPoints is 4 it end of 3 clicks,
but if click and drag i end with 4 knots.
So i set numPoints to 5 to can click w/o dragging.
my recent MAXScripts RSS (archive here)
maybe mouse tool is not so
maybe mouse tool is not so bad too
my recent MAXScripts RSS (archive here)
Thank you Anubis but for some
Thank you Anubis
but for some reason i cannot run your code
it says:
i found some way using
i found some way using RegisterRedrawViewsCallback
just in case