
I am facing an issue where I am trying to trigger a Conversation Trigger on an NPC from script.
I have been able to do so form my own code by:
- setting the trigger condition of the Conversation Trigger to either 'OnEnable' or 'OnStart' (both work)
- making the Convertation Trigger component inactive from the beginning;
- Once the player enters the OnTrigger zone, I orient the NPC towars the player;
- setting the Conversation Trigger to 'enabled', which then initiates the conversation;
- during the course of the conversation, I switch the Conversation Trigger component to another conversation related to Quest completion;
- when the player exits the zone, I deactivate the Conversation Trigger component;
- when the player re-enters the zone, I orient the NPC towards the player;
- I re-activate the Conversation Trigger component;
...nothing happens, the conversation is never triggered.
Any ideas to what I might be doing wrong?
Thanks,
-Jeff