Alerts like metal gear?
Re: Alerts like metal gear?
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?
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?
Hi,
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?
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 .
I'll send over a copy .
Re: Alerts like metal gear?
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?
Hey Tony I sent you an invite to download the project, it's a bitbucket link.
Re: Alerts like metal gear?
Thanks! I'll download it first thing in the morning and check it out.
Re: Alerts like metal gear?
Sounds great! thank you.
Re: Alerts like metal gear?
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:
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.
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?
I'll give it a shot! thanks again Tony for all of your help!