Dialogue System Trigger On Trigger Enter to On use collider bug
Posted: Sat Nov 19, 2022 5:32 am
Hello!
I have encountered this bug where if I am using a Dialogue System Trigger > Trigger > On Trigger Enter, and I change it to "On Use" through code (dialogueSystemTrigger.trigger = DialogueSystemTriggerEvent.OnUse;) it won't fire up the dialogue again until I exit the collider and enter it again.
EX.
1. Player enters trigger collider on NPC and automatically starts conversation 1 (on trigger enter) > Change Dialogue System Trigger to On use after conversation 1.
2. Conversation 1 ends and player is still inside trigger collider.
3. Player presses input to start conversation 2 > Nothing happens.
4. Player exits and enters trigger collider > Player pressed input to start conversation 2 > conversation start normally, all working fine.
So far I have been using a workaround using 2 colliders, but that's not very efficient.
Is there any other way to fix this bug? Perhaps a setting I missed?
Thank you,
Gael.
I have encountered this bug where if I am using a Dialogue System Trigger > Trigger > On Trigger Enter, and I change it to "On Use" through code (dialogueSystemTrigger.trigger = DialogueSystemTriggerEvent.OnUse;) it won't fire up the dialogue again until I exit the collider and enter it again.
EX.
1. Player enters trigger collider on NPC and automatically starts conversation 1 (on trigger enter) > Change Dialogue System Trigger to On use after conversation 1.
2. Conversation 1 ends and player is still inside trigger collider.
3. Player presses input to start conversation 2 > Nothing happens.
4. Player exits and enters trigger collider > Player pressed input to start conversation 2 > conversation start normally, all working fine.
So far I have been using a workaround using 2 colliders, but that's not very efficient.
Is there any other way to fix this bug? Perhaps a setting I missed?
Thank you,
Gael.