How To Run A New Dialogue Over a Pre-Existing One
Posted: Sat Mar 09, 2019 5:24 pm
Hi Tony,
We are using an OnTriggerEnter dialogue component to run a conversation in two separate cases and are having some trouble:
1 - We want to be able to run to OnTriggerEnter a conversation, and step on a new OnTriggerEnter and start a new conversation. The current running dialogue should end in this case. Currently the dialogue system is waiting for the current conversation to finish, instead of cancelling and running the new one.
2 - We want to be able to run to OnTriggerEnter a conversation. Each new trigger we step on advances a node in that conversation (already set up). We just want to be able to cancel the current conversation node and run the next conversation node if stepped on before the current one finishes. (we increment a number variable on each node to progress it)
Is there a simple way to make this work?
Thanks!
-Nik
We are using an OnTriggerEnter dialogue component to run a conversation in two separate cases and are having some trouble:
1 - We want to be able to run to OnTriggerEnter a conversation, and step on a new OnTriggerEnter and start a new conversation. The current running dialogue should end in this case. Currently the dialogue system is waiting for the current conversation to finish, instead of cancelling and running the new one.
2 - We want to be able to run to OnTriggerEnter a conversation. Each new trigger we step on advances a node in that conversation (already set up). We just want to be able to cancel the current conversation node and run the next conversation node if stepped on before the current one finishes. (we increment a number variable on each node to progress it)
Is there a simple way to make this work?
Thanks!
-Nik