EVENT_MEDDLECLICK

Posted By: Hani

EVENT_MEDDLECLICK - 03/13/08 10:28

hi,
how can i know the the middle mouse button was clicked over an entity ??
there is EVENT_CLICK and EVENT_RIGHTCLICK , so is there something like
EVENT_MIDDLECLICK ???

thnaks
Posted By: flits

Re: EVENT_MEDDLECLICK - 03/13/08 10:58

maby you can do somthing white touch and om_mouse_middle ore mouse_middle

on_mouse_middle
if(mouse_middle)
Posted By: Hani

Re: EVENT_MEDDLECLICK - 03/13/08 12:10

thnaks , that worked

if(event_type == event_toucch)
{
if(mouse_middle)
{
// you got a mouse middle
}
}
© 2024 lite-C Forums