disable OnTriggerEnter so conversation doesn't repeat
Posted: Mon May 30, 2022 8:29 am
Hi,
In my Dialogue System trigger, trigger is set to On Trigger Enter, and when the player approaches the NPC during gameplay, the conversation happens fine, but it retriggers the same conversation each time the player approaches the NPC. Whereas I only want it to happen the first time the player approaches the NPC. In this tutorial https://www.pixelcrushers.com/phpbb/vie ... php?t=2777
which I followed, trigger is set to One Use, which maybe why it isn't working for me.
If anyone has any advice as to how to disable OnTriggerEnter so the conversation doesn't repeat I would be super grateful.
In my Dialogue System trigger, trigger is set to On Trigger Enter, and when the player approaches the NPC during gameplay, the conversation happens fine, but it retriggers the same conversation each time the player approaches the NPC. Whereas I only want it to happen the first time the player approaches the NPC. In this tutorial https://www.pixelcrushers.com/phpbb/vie ... php?t=2777
which I followed, trigger is set to One Use, which maybe why it isn't working for me.
If anyone has any advice as to how to disable OnTriggerEnter so the conversation doesn't repeat I would be super grateful.