Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.