Is there a way to leave a conversation on right click for example? Rather than having to choose the conversation option that stops the current conversation?
You can write a custom script that calls this function when the RMB is pressed. You will also need to check that the gameState is correct. Something like the following. As before, this goes inside a class, this is not the full script file:
void Update () { if (AC.KickStarter.stateHandler.gameState == AC.GameState.DialogOptions) { if (Input.GetMouseButtonDown (1)) { AC.KickStarter.playerInput.activeConversation = null; } } }
Comments
AC.KickStarter.playerInput.activeConversation = null;
You can write a custom script that calls this function when the RMB is pressed. You will also need to check that the gameState is correct. Something like the following. As before, this goes inside a class, this is not the full script file:
void Update ()
{
if (AC.KickStarter.stateHandler.gameState == AC.GameState.DialogOptions)
{
if (Input.GetMouseButtonDown (1))
{
AC.KickStarter.playerInput.activeConversation = null;
}
}
}