Broken Dialogue

I’m using Wick Editor ver. 1.19 and I’m trying to make a dialogue box appear in my project when you click on a math poster. For some reason, it does not work. I’ve tried using variables to send a message, and I’ve also tried to do “math_poster.gotoAndStop(placeholder_for_this_forum_topic);” If anyone could help, it would be greatly appreciated.

Thanks,
MakerMan

Oh yeah, here’s the file: Flibby Goes to Jail4-16-2021_6-16-37.wick (244.3 KB)

it seems that poster clip does not respond to mousepressed event
will dig in more later

To start off, you have this.gotoAndStop(dialogue_num); in Update meaning that it’s called per-frame, whether dialogue_num is set or not. Later on I see a project.dialogue_num = 2; so it’s a global variable and the 2 lines that use it (Wick pops the script+error) are missing project. before them.

After adding that it works but Flibby just stands there, meaning that there are more issues for you to tackle.

Edit: Added an alert("text"); to verify that it wasn’t pressed and tried to resize the poster but it disappeared! Did you delete the Asset from the Library?
There’s a lot of issues with that Clip.

EDIT: I figured it out. The effect layer was blocking the hitbox.