Alerts like metal gear?

Announcements, support questions, and discussion for the Dialogue System.
Tykan
Posts: 24
Joined: Sun Jul 08, 2018 3:00 pm

Re: Alerts like metal gear?

Post by Tykan »

Okay really interesting, something in the scene that I was originally working with caused the trigger not to work. But now that I put it in a new scene it works like a charm! :D
Tykan
Posts: 24
Joined: Sun Jul 08, 2018 3:00 pm

Re: Alerts like metal gear?

Post by Tykan »

Alright next time I put it in a bigger text to lack bumping, so I found out that my GUI for the HUD is somehow conflicting with the Trigger on dialogue UI. (I'm using Corgi).
User avatar
Tony Li
Posts: 22058
Joined: Thu Jul 18, 2013 1:27 pm

Re: Alerts like metal gear?

Post by Tony Li »

Hi,
Tykan wrote: Wed Jul 11, 2018 12:22 am Alright next time I put it in a bigger text to lack bumping, so I found out that my GUI for the HUD is somehow conflicting with the Trigger on dialogue UI. (I'm using Corgi).
I don't quite follow. Is this a problem, or is everything OK now? If there's still an issue, please feel free to send a scene or project that demonstrates the issue to tony (at) pixelcrushers.com. I'll be happy to take a look.
Tykan
Posts: 24
Joined: Sun Jul 08, 2018 3:00 pm

Re: Alerts like metal gear?

Post by Tykan »

Yes and no, The trigger does work on the condition that the canvas that my HUD is put in is turned off or deleted from my scene. For some reason the canvas of my HUD and the trigger that controls the incoming transmission & Ui canvas are conflicting with each other.
I'll send over a copy :).
User avatar
Tony Li
Posts: 22058
Joined: Thu Jul 18, 2013 1:27 pm

Re: Alerts like metal gear?

Post by Tony Li »

Thanks. I'll keep an eye out for it. I'm not quite sure what you mean, so the copy will help a lot. The only thing I can think of regarding Corgi is the Fader issue, as mentioned on the Corgi Support page.
Tykan
Posts: 24
Joined: Sun Jul 08, 2018 3:00 pm

Re: Alerts like metal gear?

Post by Tykan »

Hey Tony I sent you an invite to download the project, it's a bitbucket link.
User avatar
Tony Li
Posts: 22058
Joined: Thu Jul 18, 2013 1:27 pm

Re: Alerts like metal gear?

Post by Tony Li »

Thanks! I'll download it first thing in the morning and check it out.
Tykan
Posts: 24
Joined: Sun Jul 08, 2018 3:00 pm

Re: Alerts like metal gear?

Post by Tykan »

Sounds great! thank you.
User avatar
Tony Li
Posts: 22058
Joined: Thu Jul 18, 2013 1:27 pm

Re: Alerts like metal gear?

Post by Tony Li »

Hi,

In the scene "Training ground tech demo", try this:

1. Deactivate UICamera > Canvas > HUD > BAZ.

2. On TRIGGER, change the first Dialogue System Trigger's Sequence to:

Code: Select all

AnimatorPlay(ShowAndFade,IncomingTransmission);
SendMessage(OnUse,,TRIGGER)@5


This scene contains two GameObjects with Dialogue System Triggers .

UICamera > Canvas > HUD > BAZ has a Dialogue System Trigger that starts the Avyn Baz Test conversation when the scene starts.

TRIGGER has two Dialogue System Triggers:

1. The first one is set to OnTriggerEnter. It starts immediately because the player starts inside the trigger. It shows and fades the IncomingTransmission image. Then it tries to send OnUse to a GameObject named "OnTriggerEnter", which doesn't exist.

2. The second one is set to OnUse. But it never receives OnUse, so it doesn't do anything.



Once you get that working, you may want to add a variable to your dialogue database to remember that this conversation has played. In the conversation, set the variable true. In the Dialogue System Trigger on TRIGGER that is set to OnTriggerEnter, set a Condition that the variable is not true.
Tykan
Posts: 24
Joined: Sun Jul 08, 2018 3:00 pm

Re: Alerts like metal gear?

Post by Tykan »

I'll give it a shot! thanks again Tony for all of your help!
Post Reply