Hey! Still trying to overcome my extreme laziness to create some map at last. But the problem is.. I have a bit less than 0 experience with dialog stuff.
So i will ask a bunch of questions here if you dont mind :D
1) Can i click dialog buttons with right mouse button? for example, to add skill point i need to click with LMB, to cancel changes - RMB?
2) How to refresh text in dialog items? Do i need to create a function that will be updating every 0.x seconds while dialog is active?
3) Can i update somehow text in tooltips of the buttons (if they set to variables)
1) no sorry, what you could do though is use a trigger that activates when the RMB is clicked and checks to see if it's at the position of a dialog item.
2) Yes that is what you need to do.
3) Yes just set the tooltips again.
1) no sorry, what you could do though is use a trigger that activates when the RMB is clicked and checks to see if it's at the position of a dialog item.
This is wrong.
Since a recent patch you can actually assign "accepted keys" to all dialog item types and you can also determine which key was used when reacting to the dialog item pressed event.
That being said, yes, you can make a button react on right click and yes, you can react differently than on left click. :)
1) no sorry, what you could do though is use a trigger that activates when the RMB is clicked and checks to see if it's at the position of a dialog item.
This is wrong.
Since a recent patch you can actually assign "accepted keys" to all dialog item types and you can also determine which key was used when reacting to the dialog item pressed event.
That being said, yes, you can make a button react on right click and yes, you can react differently than on left click.
Hey! Still trying to overcome my extreme laziness to create some map at last. But the problem is.. I have a bit less than 0 experience with dialog stuff. So i will ask a bunch of questions here if you dont mind :D
1) Can i click dialog buttons with right mouse button? for example, to add skill point i need to click with LMB, to cancel changes - RMB?
2) How to refresh text in dialog items? Do i need to create a function that will be updating every 0.x seconds while dialog is active?
3) Can i update somehow text in tooltips of the buttons (if they set to variables)
1) no sorry, what you could do though is use a trigger that activates when the RMB is clicked and checks to see if it's at the position of a dialog item.
2) Yes that is what you need to do.
3) Yes just set the tooltips again.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
This is wrong.
Since a recent patch you can actually assign "accepted keys" to all dialog item types and you can also determine which key was used when reacting to the dialog item pressed event.
That being said, yes, you can make a button react on right click and yes, you can react differently than on left click. :)
Nice! Thx for quick response!
Ah didn't know that one thx for the info.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
and how do you set accepted keys? by trigger or UI editing?