Trigger an event on a single word in a dialogue conversation
Posted: Thu Jul 09, 2020 3:42 am
Hi Tony,
In my game, I would like certain UI to appear when the dollar amount in the conversation is displayed. For example in the following sentence, "The purchase price was $100,000 (show UI on the screen for this $100,000) not a penny more, not a penny less." Is there a way to send an event off when a certain word in a sentence is displayed (like the $100,000 in the example above)?
Right now, I only know how to use the add scene event on that line of dialogue, but then the UI appears a little too early since it shows it at the beginning of the sentence before the dramatic reveal of the price mid-sentence.
Hopefully, that all makes sense. Thanks again!
In my game, I would like certain UI to appear when the dollar amount in the conversation is displayed. For example in the following sentence, "The purchase price was $100,000 (show UI on the screen for this $100,000) not a penny more, not a penny less." Is there a way to send an event off when a certain word in a sentence is displayed (like the $100,000 in the example above)?
Right now, I only know how to use the add scene event on that line of dialogue, but then the UI appears a little too early since it shows it at the beginning of the sentence before the dramatic reveal of the price mid-sentence.
Hopefully, that all makes sense. Thanks again!