Page 4 of 5
Re: Alerts like metal gear?
Posted: Wed Jul 11, 2018 12:17 am
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!
Re: Alerts like metal gear?
Posted: Wed Jul 11, 2018 12:22 am
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).
Re: Alerts like metal gear?
Posted: Wed Jul 11, 2018 9:12 am
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.
Re: Alerts like metal gear?
Posted: Wed Jul 11, 2018 11:54 am
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
.
Re: Alerts like metal gear?
Posted: Wed Jul 11, 2018 1:50 pm
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.
Re: Alerts like metal gear?
Posted: Wed Jul 11, 2018 11:10 pm
by Tykan
Hey Tony I sent you an invite to download the project, it's a bitbucket link.
Re: Alerts like metal gear?
Posted: Wed Jul 11, 2018 11:38 pm
by Tony Li
Thanks! I'll download it first thing in the morning and check it out.
Re: Alerts like metal gear?
Posted: Thu Jul 12, 2018 2:37 am
by Tykan
Sounds great! thank you.
Re: Alerts like metal gear?
Posted: Thu Jul 12, 2018 12:42 pm
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.
Re: Alerts like metal gear?
Posted: Thu Jul 12, 2018 12:56 pm
by Tykan
I'll give it a shot! thanks again Tony for all of your help!