Relationship

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
keabanning
Posts: 1
Joined: Tue Apr 19, 2022 12:24 pm

Relationship

Post 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.
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Relationship

Post 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.
Post Reply