Search found 20737 matches

by Tony Li
Sun May 12, 2024 4:34 pm
Forum: Dialogue System for Unity
Topic: Conversation Priorities
Replies: 2
Views: 18

Re: Conversation Priorities

Hi, Yes. It depends on how you will determine if the NPC has something to say. Let's say you have two conversations: "Greetings": Generic barks "NPC Dialogue": Conversation whose nodes that are linked from <START> have Conditions on them. It's possible that one or more nodes' Con...
by Tony Li
Sun May 12, 2024 4:27 pm
Forum: Dialogue System for Unity
Topic: Calling a script that calls other scripts from other classes at the end of a conversation
Replies: 2
Views: 18

Re: Calling a script that calls other scripts from other classes at the end of a conversation

Hi,

You can make your conversation end (e.g., include the Continue() sequencer command in the last node) or you can manually stop it in script using the C# method DialogueManager.StopConversation().
by Tony Li
Sun May 12, 2024 10:37 am
Forum: Dialogue System for Unity
Topic: Get actorName from an actor component but not the display name
Replies: 1
Views: 16

Re: Get actorName from an actor component but not the display name

Hi,

Use the "actor" property:

Code: Select all

void StartConversationWithDialogueActor(DialogueActor dialogueActor)
{
    DialogueManager.StartConversation(dialogueActor.actor + " Conversation");
}
by Tony Li
Sat May 11, 2024 8:44 pm
Forum: Love/Hate
Topic: Some relationships not changing?
Replies: 9
Views: 57

Re: Some relationships not changing?

Glad to help!
by Tony Li
Sat May 11, 2024 7:07 pm
Forum: Dialogue System for Unity
Topic: Issue starting new conversation when changing scenes
Replies: 11
Views: 71

Re: Issue starting new conversation when changing scenes

That may cause problems in the future, but you can probably avoid them by using the save system to change scenes. If you do this, put the Save System component (and its dependency components) on a GameObject separate from the Dialogue Manager.
by Tony Li
Sat May 11, 2024 7:06 pm
Forum: Love/Hate
Topic: Some relationships not changing?
Replies: 9
Views: 57

Re: Some relationships not changing?

If I understand you correctly, you want to know when an NPC's feelings toward the player change. NPCs belong to factions like Sixers and Cannibals. In the screenshot you shared, it looks like when the player attacks a cannibal, the cannibals correctly get negative affinity (hate) and the Sixers get ...
by Tony Li
Fri May 10, 2024 11:06 pm
Forum: Love/Hate
Topic: Some relationships not changing?
Replies: 9
Views: 57

Re: Some relationships not changing?

Hi, The problem I see is that the player, as member of faction Player, becomes happier when he kills Cannibals, but relationships do not change: https://i.imgur.com/esuz84V.png I expect the relationships towards them to be affected so I can report this to the player (ie: "your relationships tow...
by Tony Li
Fri May 10, 2024 6:29 pm
Forum: Love/Hate
Topic: Some relationships not changing?
Replies: 9
Views: 57

Re: Some relationships not changing?

Hi,

On your Faction Manager, have you ticked Can Witness Self?
by Tony Li
Fri May 10, 2024 6:25 pm
Forum: Dialogue System for Unity
Topic: Multiple Dialogue System Triggers?
Replies: 1
Views: 44

Re: Multiple Dialogue System Triggers?

No, that's totally fine. You can even have multiple Dialogue System Triggers all set to OnUse. If they start conversations, set their Conditions so that only one of their Conditions will be true at a time.
by Tony Li
Fri May 10, 2024 7:58 am
Forum: Dialogue System for Unity
Topic: Cinemachine inconsistencies
Replies: 1
Views: 16

Re: Cinemachine inconsistencies

Hi, Cinemachine Priority On Dialogue Event relies on the dialogue event messages OnConversationStart and OnConversationEnd. These messages are only sent to the conversation's primary actor and conversant. If a Cinemachine Priority On Dialogue Event isn't taking effect when you expect it to, check th...