Search found 368 matches

by hrohibil
Thu Mar 10, 2022 2:37 am
Forum: Dialogue System for Unity
Topic: Access bool from own script
Replies: 6
Views: 468

Re: Access bool from own script

Thank you Toni..

That did it !!!

I am so happy right now :-)
by hrohibil
Wed Mar 09, 2022 5:15 pm
Forum: Dialogue System for Unity
Topic: Access bool from own script
Replies: 6
Views: 468

Re: Access bool from own script

Forgive me Toni. I am a noob. I pasted that code in the conversations sequence field, and conditions field but that did not help. In variables I have a bool set to false called "gunMap". In the conversation field script I have this currently: Variable["gunMap"] = true What i am t...
by hrohibil
Wed Mar 09, 2022 4:52 pm
Forum: Dialogue System for Unity
Topic: Access bool from own script
Replies: 6
Views: 468

Access bool from own script

Hello Toni

If I set a bool to to be true in one of m dialogues, how do i access this bool from my own custom script where I just ant to check if that bool is true then i do something in my script..

Thanks
by hrohibil
Wed Mar 09, 2022 9:39 am
Forum: Dialogue System for Unity
Topic: Invector FSM AI not interacting
Replies: 1
Views: 487

Invector FSM AI not interacting

Hi Toni See below image. The two characters has exactly same setup and it worked perfectly. Meaning they have the Dialogue system trigger and a Useable component on them. So when my mouse hover over them, i can interact with them. Then i made my left side NPC into a Invector FSM AI. I have set him u...
by hrohibil
Sun Mar 06, 2022 4:32 pm
Forum: Dialogue System for Unity
Topic: Facing wrong direction
Replies: 11
Views: 902

Re: Facing wrong direction

Thanks Toni.
I will


What when the conversation is over, the NPC did not return to previous orientation??
by hrohibil
Sun Mar 06, 2022 12:21 pm
Forum: Dialogue System for Unity
Topic: Facing wrong direction
Replies: 11
Views: 902

Re: Facing wrong direction

Ok.

In the first node I already have this code in the Sequence:

SwitchCamera(GunshopCamera)

How can i combine that with LookAt(listener, speaker); {{default}}

EDIT:
What when the conversation is over, will the object return to previous orientation??
by hrohibil
Sun Mar 06, 2022 12:00 pm
Forum: Dialogue System for Unity
Topic: Facing wrong direction
Replies: 11
Views: 902

Re: Facing wrong direction

I already have sequence camera setup so I have a good position of both.

Would the below code not override that?

I “just” need the NPC to face the player during a conversation

Cheers

Hamid
by hrohibil
Sun Mar 06, 2022 10:14 am
Forum: Dialogue System for Unity
Topic: Facing wrong direction
Replies: 11
Views: 902

Re: Facing wrong direction

Ahh

This line fixed a lot..

"Is the correct NPC assigned to the Dialogue System Trigger's Conversation Conversant?"

I had copy pasted the trigger to other NPCs.. So now the player is facing the NPC, but NPC still not facing the player?
by hrohibil
Sun Mar 06, 2022 4:19 am
Forum: Dialogue System for Unity
Topic: Facing wrong direction
Replies: 11
Views: 902

Re: Facing wrong direction

Yes sorry for clarifying that.
The player is the one with the cap and glasses.
The one closest to the camera.

But even the AI is not facing him.
They don’t face each other’s??



Cheers
Hamid
by hrohibil
Sat Mar 05, 2022 5:43 pm
Forum: Dialogue System for Unity
Topic: Facing wrong direction
Replies: 11
Views: 902

Facing wrong direction

Hello Toni

As seen below I a, still facing two issues-

1:
My invector character in all dialogues are facing the wrong way..

2:
Can that text UI (arrow pointing on below image) be lowered down?