#Error with dialogue options

1 messages · Page 1 of 1 (latest)

subtle storm
#

I have a dialogue script that I've been tinkering with to give different functions- like a response feature. The player can respond by clicking 1 of 2 gui buttons.

I have 2 characters you can talk and respond to:
The error comes when you try to respond. When I click button1, the button1 option for the other npc's chat also begins to play. How do I make button1 and button2 exclusive to the npc you're chatting with?

#

basically the button1 and button2 responses are overlapping. how do i fix that?

cunning apex
cunning apex
dim crypt
# subtle storm I have a dialogue script that I've been tinkering with to give different functio...

In the first one, you contain the .MouseButton1Click functions inside the .Triggered of the proximity prompt, which is fine as long as you edit it to prevent some memory leaks. But, for the other one, you have them outside of the .Triggered, so if you try to respond to the first npc, the second npc's dialogue is also going to trigger since you're accidentally making it so the responses are always connected to those dialogue options, regardless of what npc those responses are currently active for

subtle storm
#

ohh so inside the triggered means it's okay

#

it's working now 👍 !