How to set Bool true in Dialog?
Posted: Sun Feb 14, 2021 11:23 pm
Is it possible to set a bool true in another GameObject via the Dialog?
I tried to Add a script inside "Events" an call wifeAppears();
So, once the conversations reached a point, a wife will appear on the scene.
Thanks in advnace!
EDIT: Also, is there a way to "Skip" conversation? In case the player accidentally talk to an NPC again and want to skip the entire conversation?
I tried to Add a script inside "Events" an call wifeAppears();
Code: Select all
public bool wifeComing;
public void wifeAppears()
{
Debug.Log("Check Clementine");
wifeComing= true;
}
Thanks in advnace!
EDIT: Also, is there a way to "Skip" conversation? In case the player accidentally talk to an NPC again and want to skip the entire conversation?