Confused about the end part of Quest Completion

Hello there, I don’t understand the end part of Quest Completion where to overcome the bug we have to make a gameobject under player, what do you mean by that, I am kinda confused about it, would be great if you guys could help me out with it, thanks.

I believe you’re referring to a situation where you have more than one QuestCompletion for a character. The problem is that a UnityEvent will always call the first instance of a custom component that it finds on a GameObject. This means that if you put two QuestCompletions on the character, only the first one can ever fire. Even if you drag the 2nd one onto the event, it will still fire on the first one.

The solution is that if you have more than one QuestCompletion on a character, you put the 2nd one on a child object and drag that child object into the event.

2 Likes

Oh, ok thanks for the info.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms