View Single Post
  #1  
Old 03-05-2011, 06:41 PM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Send a param with catchEvent?

is it possible to send a param with catchEvent?

such as I have these in a GuiShowImgCtrl of a character

PHP Code:
thiso.catchEventname"onMouseDown""RotateChar");  
thiso.catchEventname"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?
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote