maptool
maptool copied to clipboard
[Feature]: modal-blocking `dialog` and `dialog5` property for similar effects as `input`
Describe the Problem
Sometimes i resort to ðialog or dialog5 when I need an input dialog with a different layout or more functions compared to input.
AFAIK there is no current way to make them modal, and wait for an ok / cancel button to be pressed before returning. This forces a lot of callbacks in bigger projects and makes everything more error-prone.
The Solution you'd like
I'd like a simple property in dialog macro such as modal:1 .
Alternatives that you've considered.
Callbacks, and over-complicated input macro calls.
Additional Context
No response
I also encountered a problem where modal-blocking dialogs would be the solution. I am currently using input() to give my players the opportunity to use fatepoints before their skillchecks appear in the chat. The problem is that input() does not look very nice, the header of the input-window looks unprofessional and i do not have the freedom to customize my UI the way it would be most user friendly.