NPCS starting lines don´t change via conditions
Posted: Sun Jul 12, 2020 8:21 am
Hey peeps,
I wanted to play around with the dialogue manager and made a simple conversation between the NPC and the player. The NPC would have different starting lines, depending on whether the player "accepted" a task or not.
Here´s the summary (image below):
After NPC says "how you doing" I set the quest state to unnasigned
When Player selects "great (take quest), I set the quest state to assigned
I then linked the 2nd NPC starting line "Thanks for accepting the q" with the condition quest == assigned
However even after the player accepts the quest, the nps uses the same lines that are called during the condition "quest unassigned". I tried it then again with bool variables, but that also doesn´t help.
I checked the conditions and scripts tab, to make sure the quest state was being changed or checked. So I´m a bit confused, what am I doing wrong?
I wanted to play around with the dialogue manager and made a simple conversation between the NPC and the player. The NPC would have different starting lines, depending on whether the player "accepted" a task or not.
Here´s the summary (image below):
After NPC says "how you doing" I set the quest state to unnasigned
When Player selects "great (take quest), I set the quest state to assigned
I then linked the 2nd NPC starting line "Thanks for accepting the q" with the condition quest == assigned
However even after the player accepts the quest, the nps uses the same lines that are called during the condition "quest unassigned". I tried it then again with bool variables, but that also doesn´t help.
I checked the conditions and scripts tab, to make sure the quest state was being changed or checked. So I´m a bit confused, what am I doing wrong?