double text after using logic
Hey, I could use some help with a weird glitch, I'm having.
I wanted a character to say two different things, based on whether an event has happened. My logic is as follows:
Variable: "Event" -> When the event happened, I put +1 on an variable modifier set on "Event".
In the character:
If "Event" = 0 -> Sentence 1
If "Event" = 1 -> Sentence 2
I used the calculator with that.
The logic works, that is not the problem. The problem is, that if "Event" = 0, Sentence 1 appears twice. So after I close the sentence, it appears again and when I close that two it stays that way. That didn't happen before, when their was only one possible sentence and it also doesn't happen with sentence 2. I can't figure out, why that is. Does anybody have an idea?
-
My guess is that first condition "=0" is true even before you start testing - because you are not sending any input inside so it is considered 0 and text appears even before you want it to.
I would probably start counting from 1 for this reason or you will have to make sure that no signal is handled differently than 0 signal. -
Cool idea. Didn't work unfortunately. Same problem. I include a pic of the logic. Dunno if that helps...
-
A bit hard to say without getting in there and fiddling with things. If you like, you can send me a remixable creation, or temporarily add me as a collaborator to it so I can take a closer look.
請登入寫評論。