Page 1 of 1

answer not working in launched stacks - why?

Posted: Tue Mar 26, 2013 7:54 pm
by giansuana
I have two mainstacks: the first one is used as a launcher for the second one. Problem is, that the function "answer" is not working anymore (i.e. nothing happens, script has no effect) within the second stack, if it is launched by the first one! But as soon as I start the second stack directly, "answer" is working as expected.
Why is that? And how can I achieve a properly working answer-function in the second stack if launched by the first one?
Best, Gian-Reto.

Re: answer not working in launched stacks - why?

Posted: Tue Mar 26, 2013 8:59 pm
by magice
What message is being sent, that initiates the answer command?

Re: answer not working in launched stacks - why?

Posted: Wed Mar 27, 2013 11:22 am
by Klaus
Hi Gian-Reto,

couple of questions:
1. is the "launcher" stack the one you build a standalone from? I guess yes.
2. do you close that "launcher" stack immediately after you opend any other stack?
3. is the "destroystack" property of the "launcher" stack checked?
4. MOST IMPORTANT: Did you check "Ask Dialog" and "Answer Dialog" in the standalone builder settings? :D


Best

Klaus

Re: answer not working in launched stacks - why?

Posted: Wed Mar 27, 2013 1:33 pm
by giansuana
Thank you a lot for your interest in my problem!
Klaus, your important Nr. 4 was the solution: beginner as I am, I built the standalone launcher with default automatic option on. After enabling the answer dialog manually my problem was solved. Great! :D
Am I right in assuming now, that my problem occurred, because my launcher did not contain a answer function, but just the second stack? Therefore, the standalone builder was not able to include the needed inclusions automatically, right?
Best, Gian-Reto.

Re: answer not working in launched stacks - why?

Posted: Wed Mar 27, 2013 1:49 pm
by Klaus
Hi Gian-Reto,

glad I could help!

Yes, your are right:
The standalone builder copies the "Ask dialog" and "Answer dialog" stack as SUBSTACKS to the stack
that will turn into the standalone. If they are missing "ask/answer whatever..." will not work.


Best

Klaus