Need help making a dialog behavior!

PKLOVE

  • Posts: 14
I'm running the latest version of Stencyl on my Macbook Pro, and I'm trying to make a platformer game where you can press space to initiate a dialog sequence. I've been using Stencyl on and off for a while ever since I moved on from Scratch, and I also know a bit of Python if that gives any sort of helpful idea as to my coding experience. So I made a behavior for the dialog sequence which is to be attached to the NPC or sign actors, and that's the script attached. For some reason, when I run the game I get no error messages, but Flash freezes when I press the command to initiate. I've gone through the whole thing many times and I'm still unable to identify the problem. What am I missing?

stefan

  • *
  • Posts: 2263
Why not using the extension?

PKLOVE

  • Posts: 14
Figuring out the dialog extension seems like it would take longer than fixing this behavior.

stefan

  • *
  • Posts: 2263
I have a tutorial serie on how to yse the extension. Have you seen it? With simple behaviors you will never eb able to get all the tools as the extension.

merrak

  • *
  • Posts: 2737
It doesn't look like "Advance Dialog" is ever set to true, preventing the loop at the bottom from terminating.

PKLOVE

  • Posts: 14
I have a tutorial serie on how to yse the extension. Have you seen it? With simple behaviors you will never eb able to get all the tools as the extension.

Cool! I'll look into it

PKLOVE

  • Posts: 14
It doesn't look like "Advance Dialog" is ever set to true, preventing the loop at the bottom from terminating.

Aaaahhh I see now, I'll switch some things around and see if it works

EDIT: I'm not sure how to fix it

« Last Edit: June 01, 2016, 12:17:02 pm by PKLOVE »