Hello!
I'm using AGS 3.4.1. with abstauber's LucasArts GUI - not sure if it makes any difference for my problem.
What I want to do is to check which dialog option the mouse is hovering over. I want to - in certain cases - play a specific animation depending on which option is highlighted.
Seeing as the dialog options can already be highlighted in a different color when the mouse hovers over them, it has to be possible, but I just can't figure it out. What is the variable I need? Do I have to use the dialog script? If yes, can I export it from there and use it in other scripts?
At the moment I just solved it by checking the y-coordinate of the mouse, but that's obviously not a very good solution and breaks apart as soon as the player scrolls down or an option is turned off.
I'm using AGS 3.4.1. with abstauber's LucasArts GUI - not sure if it makes any difference for my problem.
What I want to do is to check which dialog option the mouse is hovering over. I want to - in certain cases - play a specific animation depending on which option is highlighted.
Seeing as the dialog options can already be highlighted in a different color when the mouse hovers over them, it has to be possible, but I just can't figure it out. What is the variable I need? Do I have to use the dialog script? If yes, can I export it from there and use it in other scripts?
At the moment I just solved it by checking the y-coordinate of the mouse, but that's obviously not a very good solution and breaks apart as soon as the player scrolls down or an option is turned off.