Quote from: cat on Sat 09/01/2016 19:10:28
The problem is, that dDialog1.Start() is not blocking AFAIK. So you start the dialog and immediately after that, check for option chosen (which at that point in time, was not yet chosen).
There is a much better solution to this: Just make the object visible from WITHIN the dialog script. In the dialog script itself, where you handle the desired option (5 in this case), indent the line and write the AGS code. Take a look at the manual in the section "Dialogs" and "Using scripting commands in dialogs".
i did it!!! you were right!! thanks!!!!111 :DD
and thank you Slasher for trying to help too!!