An issue with dialog button

Status
Not open for further replies.
Level 12
Joined
Jul 17, 2013
Messages
544
upload_2020-9-10_0-42-0.png

I am using votekick system for my map, but it has issue, by pressing the enter on keyboard a one can vote yes by acciend. it often happens if player is typing meanwhile someone else starts votekick

as u can see yes is in white color so it means enter is hotkey for it. is it somehow possible to remove the hotkey on yes? or block the keyboard functions during votekick? i want players to be able to vote only with mouse

i know about replacing no and yes with the places, so a player doesnt get kicked by someone acciendly pressing enter, but it doesnt solve problem fully, player should be fully aware when kicking some 1
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,866
Why not make the first option do nothing.

So it looks like:
[Nothing]
[Yes]
[No]

And i'm sure you could put some useful information as the Text for the [Nothing] Button]

Like [Vote started by X Player] so it doesn't look as weird.
 
Level 12
Joined
Jul 17, 2013
Messages
544
Why not make the first option do nothing.

So it looks like:
[Nothing]
[Yes]
[No]

And i'm sure you could put some useful information as the Text for the [Nothing] Button]

Like [Vote started by X Player] so it doesn't look as weird.

How to make first option do nothing or u mean make it so if first option is clicked make the dialog appearing again and integer button not being count
 
Status
Not open for further replies.
Top