Barks and Conversations
Posted: Thu Jan 30, 2020 10:42 pm
I'm using both barks and conversations as speech bubbles and am having a problem with how I want things to play out.
I have an Input "Fire 2" that is meant to represent "talk" for the player. If they press it the player should do a little bark (Yells out to Dad), but if they are next to an area of interest, or are holding an item they should play the conversation relating to that thing.
I am using the proximity selector to trigger area of interest conversations, but am calling the Barks from my main input script.
The problem is that the bark fires and plays behind the conversation (so 2 speech bubbles) because the triggers are the same, and I can't tell from my input script if a conversation "should" play, since that is determined by the proximity scripts.
I have tried changing to the Bark being a conversation instead, but then I can't use the "chose a random bark" logic, and it also has the same issue of triggering before desired conversation, and therefore either playing for a short time, or blocking all together.
I'm wondering if there is a better way to set this up? I feel like I'm doing the wrong things.
Also bonus question, any way to setup the "Pick a random option" in a normal conversation?
I have an Input "Fire 2" that is meant to represent "talk" for the player. If they press it the player should do a little bark (Yells out to Dad), but if they are next to an area of interest, or are holding an item they should play the conversation relating to that thing.
I am using the proximity selector to trigger area of interest conversations, but am calling the Barks from my main input script.
The problem is that the bark fires and plays behind the conversation (so 2 speech bubbles) because the triggers are the same, and I can't tell from my input script if a conversation "should" play, since that is determined by the proximity scripts.
I have tried changing to the Bark being a conversation instead, but then I can't use the "chose a random bark" logic, and it also has the same issue of triggering before desired conversation, and therefore either playing for a short time, or blocking all together.
I'm wondering if there is a better way to set this up? I feel like I'm doing the wrong things.
Also bonus question, any way to setup the "Pick a random option" in a normal conversation?