is it possible to send a param with catchEvent?
such as I have these in a GuiShowImgCtrl of a character
PHP Code:
thiso.catchEvent( name, "onMouseDown", "RotateChar");
thiso.catchEvent( name, "onRightMouseDown", "RotateChar");
in the function 'rotateChar' I can't determine which button was clicked as leftmousedown returns false.
I know I could make two short functions but I was wondering if I could combine them. Both attempts when I try to send a param fails to get the event, my question is moreso how to determine which mouse button was pressed?