Page 1 of 1

Relationship

Posted: Tue Apr 19, 2022 12:32 pm
by keabanning
Hi,

I'm trying to prototype some sort of relationship mechanics from harvestmoon/persona. Give items to Npc, then increase relationship with said Npc, change dialogue each stage of relationship and trigger cutscene. Is it possible to do that with dialogue system? I've love/hate in my library but i think that's not enough.

Re: Relationship

Posted: Tue Apr 19, 2022 1:40 pm
by Tony Li
Hi,

You can use Love/Hate to manage relationships, or you can use the Dialogue System's built-in relationship functions.

If you use Love/Hate, use the integration's ReportDeed() Lua function in your conversation nodes' Script fields, and use GetAffinity() in Conditions fields.

If Love/Hate is overkill for your needs, you can use the built-in relationship functions. Use GetRelationship() in Conditions fields and Set/Inc/DecRelationship in Script fields.