I would like to have a mouse click event in my game, so that I´m clicking on an object and it opens a webbrowser. The python script is done and I´ve just the problem, that the game “sees” when the mouse is over the object and it already opens the webbrowser, so It is not working with the click.
My game logic looks like this:
you should be smarter then that, you dont see your problem?
hook up left click to the script aswell xD, you dont have the and controller connected so can be removed aswell,
Of course I tried that. But it is not working. If i´m doing it like you said, it is opening the browser when the mouse is over the object AND when I´m clicking (it doesnt matter where I´m clicking). But I want that It is opening only once so when i´m clicking on the object.
Do you see the problem now?
Thanks anyway