Brendan Chen 943434 Posted October 30, 2010 at 03:15 PM Posted October 30, 2010 at 03:15 PM Hi all, I'm experiencing some strange issues: I tried to use OnDoubleClickScreenObject, and OnClickScreenObject functions, they both don't get called when I click on the screen object. Could someone please tell me what could be wrong? I am certain that a screen object exist, as OnOverScreenObject was called when I place my cursor over and expected screen object, but unfortunately when I click or double click, the appropriate functions were not called. What could be wrong? Cheers Brendan Chen VATPRC Tech Support You make the difference! Link to comment Share on other sites More sharing options...
Juha Holopainen Posted November 2, 2010 at 03:26 PM Posted November 2, 2010 at 03:26 PM Hard to say what's wrong, both functions work for me. Could you show the code that's not working? Link to comment Share on other sites More sharing options...
Brendan Chen 943434 Posted November 3, 2010 at 01:06 AM Author Posted November 3, 2010 at 01:06 AM Not sure what to show... I've tried to start a new project, copy and pasting code from the old. That didn't work. This is my 2nd attempt at the plugin, the first attempt, the On functions were working, I've used the same VS version, but somehow this time it was not working... Someone told me it was because the 'virtual' function wasn't properly connected, so the one in my cl[Mod - Happy Thoughts] wasn't connected. Brendan Chen VATPRC Tech Support You make the difference! Link to comment Share on other sites More sharing options...
Brendan Chen 943434 Posted November 3, 2010 at 10:59 PM Author Posted November 3, 2010 at 10:59 PM Thanks to all that tried to help, the problem is now SOLVED!! Thanks to Gergely for your time, and I would like to borrow this chance to let everyone know how the problem was solved: I had a screen object type 'int' set to 0, and apparently, 0 means unidentified object therefore EuroScope ignores it. I changed it to 1 and all works! Please note, this was not docomeented. Now I can continue developing! Thanks all Brendan Chen VATPRC Tech Support You make the difference! Link to comment Share on other sites More sharing options...
Recommended Posts