Make a GameObject call a function from another gameObject script;

Hi there;

I have a serious problem here…

I’m on a project and i have to make my character get some quests. He will report this quests to the same person.

So, i attached a script to the character that get the collision and iniciates the dialog, but, how can I pass the information of, mission complete to the another script (of the dialog) to call the other function, that verify if the quest is complete, and display the new one?

I don’t know how to make the 2 object talks each other…

One Script acess the other…

Accessing_Other_Game_Objects

GameObject.SendMessage

:slight_smile: