I've just trying out the query custom dialog and found this bug. A query custom dialog is a dialog that pop up ask a question yes or no. The trigger look like this
thats exactly how i tried it, but it always returns "no".
the custom dialogs are really strange to me, i have no idea how to get the result of a specific custom dialog, its very confusing.
there is an event that fires if ANY custom dialog gets dismissed, but you cant specify what custom dialog and you cant put it in a varaible.
it would make work a lot easier if we could use this custom dialogs for simpel yes/no options, like for example in c# where they work perfect.
I think it's because of a Wait. People can't chose an answer and pick it for 0.1 second.
Back in Wc3 i had a similar problem. I created a dialog, gave a decision, but it registered only the Else variant.
I worked it out by using the "Wait until ...". But there is no such action :S
I think it's because of a Wait. People can't chose an answer and pick it for 0.1 second.
Back in Wc3 i had a similar problem. I created a dialog, gave a decision, but it registered only the Else variant.
I worked it out by using the "Wait until ...". But there is no such action :S
sry but no. if you look to the condition it also says "custom dialog", so its no specific dialog. if we use a wait it wold be possible that during this time another custom dialog gets dismissed and the restult of the first dialog wouldnt exist any more. also, waits suck.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've just trying out the query custom dialog and found this bug. A query custom dialog is a dialog that pop up ask a question yes or no. The trigger look like this
This one didn't work no matter yes or no is clicked. However, this one work
So my guess would be that Any still capture the result correctly however the yes/no answer is not captured. Try the trigger yourself to confirm.
@progammer: Go
thats exactly how i tried it, but it always returns "no".
the custom dialogs are really strange to me, i have no idea how to get the result of a specific custom dialog, its very confusing.
there is an event that fires if ANY custom dialog gets dismissed, but you cant specify what custom dialog and you cant put it in a varaible.
it would make work a lot easier if we could use this custom dialogs for simpel yes/no options, like for example in c# where they work perfect.
I think it's because of a Wait. People can't chose an answer and pick it for 0.1 second.
Back in Wc3 i had a similar problem. I created a dialog, gave a decision, but it registered only the Else variant.
I worked it out by using the "Wait until ...". But there is no such action :S
sry but no. if you look to the condition it also says "custom dialog", so its no specific dialog. if we use a wait it wold be possible that during this time another custom dialog gets dismissed and the restult of the first dialog wouldnt exist any more. also, waits suck.