- Joined
- Nov 11, 2006
- Messages
- 7,591
I've recently been wandering JASSCraft and I saw this function:
I was wondering if I do this:
Will I be able to press the dialog by pressing "3"?
If so, can I hide it and have it still apply:
Will that work?
Thanks for any help.
JASS:
native DialogAddButtonWithHotkeyBJ takes dialog whichDialog, string buttonText, integer hotkey returns button
I was wondering if I do this:
JASS:
call DialogAddButtonWithHotkeyBJ(dialog,"text",3)
Will I be able to press the dialog by pressing "3"?
If so, can I hide it and have it still apply:
JASS:
call DialogAddButtonWithHotkeyBJ(dialog,"text",3)
call DialogDisplay(Player(0), dialog, false)
Will that work?
Thanks for any help.