08-29-2010, 01:56 PM
Sorry for doublepost.
Your Code works very well, but now i tried to add the ifk to it, and it errors
"unexpected identifier."
But in the QM Help it says that ifk((1)) stands for Mouse left button?
Did i misunderstood something or has the code changed?
Your Code works very well, but now i tried to add the ifk to it, and it errors
"unexpected identifier."
;test
int Action
if PtInRect(&ra p.x p.y) and ifk((1))
,Action=1
,else
,,Action=0
else if PtInRect(&rb p.x p.y) and ifk((1))
,Action=2
,else
,,Action=0
,
Did i misunderstood something or has the code changed?