<Increment On Destroy> Problem..

Announcements, support questions, and discussion for the Dialogue System.
wlchfl5359
Posts: 29
Joined: Sat Jan 02, 2021 4:27 pm

Re: <Increment On Destroy> Problem..

Post by wlchfl5359 »

god... i found a problem.
you were right. problem was my Custom SequencerCommand.

Debug.Log("SequencerCommandNPCState 들어옴");
for (int i = 0; i < parameters.Length; i++)
{
Debug.Log("i : " + GetSubject(i).gameObject);
GetSubject(i).GetComponent<NPCState>().CheckQuest(GetSubject(i).gameObject.name);
}
Stop();

this code was in Awake() and i moved it in Start() and no error!!!!!!!!!!!!!!!!!!
Thank you very much.
i'm really impressed this Dialogue system and your answers.
Thank you!!!!!!!!!!!!!!!!!!!
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: <Increment On Destroy> Problem..

Post by Tony Li »

Happy to help! I'm glad you found the issue.
Post Reply