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.
answer not working in launched stacks - why?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: answer not working in launched stacks - why?
What message is being sent, that initiates the answer command?
Re: answer not working in launched stacks - why?
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?
Best
Klaus
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?

Best
Klaus
Re: answer not working in launched stacks - why?
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!
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.
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!

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?
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
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