Dialog question
#1

Hi all, is it possible that during a player is looking through a dialog, certain actions will be performed?

For example if your dialog goes like this:
Код:
Spoiler 1
Spoiler 2
Spoiler 3
OK   Cancel
Can you make a function that when Spoiler 2 is selected with arrow down, but you haven't pressed OK yet, you will let a SendClientMessage(...) be called?
Reply
#2

Quote:
Originally Posted by StilThere
Посмотреть сообщение
Hi all, is it possible that during a player is looking through a dialog, certain actions will be performed?

For example if your dialog goes like this:
Код:
Spoiler 1
Spoiler 2
Spoiler 3
OK   Cancel
Can you make a function that when Spoiler 2 is selected with arrow down, but you haven't pressed OK yet, you will let a SendClientMessage(...) be called?
I didn't understand, explain more
Reply
#3

No, only callback for dialogs is OnDialogResponse and it gets called only when player presses the button.
Reply
#4

Quote:
Originally Posted by Sid_Alexander
Посмотреть сообщение
I didn't understand, explain more
You can select a listitem in a dialog, and before you press it it becomes this red color, I wanted to know if you could let a function be called on that moment, but you can't.

Quote:
Originally Posted by MadeMan
Посмотреть сообщение
No, only callback for dialogs is OnDialogResponse and it gets called only when player presses the button.
Allrighty, thank you.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)