Closed Lu1508 closed 3 years ago
It tells you what is wrong
NameError: name 'monika_boop' is not defined
In your code you have this
action Return(monika_boop)
You don't define monika_boop
anywhere, you probably mean to use a string instead. E.g. action Return("monika_boop")
Also just an FYI, but we have a framework for active interactions. It can actually detect clicks on different parts of the body.
Also also, I'll add that using names like mas_botHideOverlay
,mas_botIsVisible_ovl
, mas_botShowOverlay
is a bad idea. This is the format we use for official code, especially the mas_
prefix.
You are right, now it worked, when it said "is not defined" I thought it meant something else, thank you
Wait...Do we have that? I didn't know, I tried to click on her in a lot of parts of her body and nothing happens
In the case of the names, I see your point, but it was the only way I found for the button to show up
we have a framework for polygon based click detection. the submod should use it if it wants to.
Let me know if you end up getting the interactions framework to work. I'd like to see how the code looks if you do.
Hi! Remember when I posted the issue #7701 about improve the interaction with Monika using buttons? Well, I could fix most of the problems (like the button not showing up)
However, there still one problem I cannot find a solution: When the button is pressed, run the label monika_boop
Can someone tell me how to fix it, please?
Also it comes with an error that says: