Alerts like metal gear?
Re: Alerts like metal gear?
Pretty much in this order,
1. Incoming transmission 5 seconds on screen.
(Fades out)
2. Dioulouge ui begins
3.Conversation ends
4.End of sequence.
1. Incoming transmission 5 seconds on screen.
(Fades out)
2. Dioulouge ui begins
3.Conversation ends
4.End of sequence.
Re: Alerts like metal gear?
Here's what I recommend:
Instead of setting the IncomingTransmission GameObject active and inactive, use an Animator to fade it in and out.
Here's an updated example scene:
Corgi_IncomingTransmissionExample_2018-07-09.unitypackage
I did this to set it up:
1. Activated IncomingTransmission.
2. Added an Animator Controller with two animator states: Hidden (the starting state) and ShowAndFade (shows for 5 seconds, fades out, and transitions to Hidden state).
4. Changed the Dialogue System Trigger's Sequence to:
Instead of setting the IncomingTransmission GameObject active and inactive, use an Animator to fade it in and out.
Here's an updated example scene:
Corgi_IncomingTransmissionExample_2018-07-09.unitypackage
I did this to set it up:
1. Activated IncomingTransmission.
2. Added an Animator Controller with two animator states: Hidden (the starting state) and ShowAndFade (shows for 5 seconds, fades out, and transitions to Hidden state).
4. Changed the Dialogue System Trigger's Sequence to:
Code: Select all
AnimatorPlay(ShowAndFade,IncomingTransmission);
SendMessage(OnUse,,TRIGGER)@5
Re: Alerts like metal gear?
I'll give it a shot when I get home, I really appreciate all the help Tony!
Re: Alerts like metal gear?
Getting really close!The Incoming transmission does show up during the sequence but the main dialogue comes way to soon.
1. Incoming transmission (5 seconds)
2. Conversation starts
3. Conversation ends.
1. Incoming transmission (5 seconds)
2. Conversation starts
3. Conversation ends.
Re: Alerts like metal gear?
What if I where to add a system trigger on SF Unity UI Dialogue UI with Portraits for 5 seconds after the Incoming Transmission?
Re: Alerts like metal gear?
I don't think you need to do that. Why not just send the OnUse message after a longer delay? For example, this delays 3 additional seconds:
Code: Select all
AnimatorPlay(ShowAndFade,IncomingTransmission);
SendMessage(OnUse,,TRIGGER)@8
Re: Alerts like metal gear?
So this pretty much happens: https://giphy.com/gifs/82UKOef1jF8khHI7cu
I did change it to what you recommended, when the play system is on use the message doesn't appear the SF Unity UI Dialogue UI. But if I set it onStart the Incoming transmission does appear and fade out after 12 seconds but the SF Unity UI Dialogue UI starts at the same time.
I did change it to what you recommended, when the play system is on use the message doesn't appear the SF Unity UI Dialogue UI. But if I set it onStart the Incoming transmission does appear and fade out after 12 seconds but the SF Unity UI Dialogue UI starts at the same time.
Re: Alerts like metal gear?
Hi,
The catch there is that both Dialogue System Triggers are on the same GameObject, and they both respond to OnUse.
When you use the TRIGGER GameObject, it sends OnUse to both Dialogue System Triggers, so they both run right away.
If you want the whole thing to happen when the player enters a trigger collider, set the first one to OnTriggerEnter. (In this case, TRIGGER must have a collider whose Is Trigger checkbox is ticked.) After 12 seconds, it will send OnUse to itself, which the second Dialogue System Trigger will respond to.
Otherwise, if you want the whole thing to happen when the player uses something, put them on separate GameObjects. Don't make one a child GameObject of the other; OnUse is sent to children, too.
The catch there is that both Dialogue System Triggers are on the same GameObject, and they both respond to OnUse.
When you use the TRIGGER GameObject, it sends OnUse to both Dialogue System Triggers, so they both run right away.
If you want the whole thing to happen when the player enters a trigger collider, set the first one to OnTriggerEnter. (In this case, TRIGGER must have a collider whose Is Trigger checkbox is ticked.) After 12 seconds, it will send OnUse to itself, which the second Dialogue System Trigger will respond to.
Otherwise, if you want the whole thing to happen when the player uses something, put them on separate GameObjects. Don't make one a child GameObject of the other; OnUse is sent to children, too.
Re: Alerts like metal gear?
Alright so I changed it to the way you recommended it, sadly the results are the same. Both appear at the same time, Should I make a separate trigger game object to correspond with the incoming transmission?
This is the result I am would like to mimic: https://giphy.com/gifs/1wrln8gbZtqfzmHoqJ
This is the result I am would like to mimic: https://giphy.com/gifs/1wrln8gbZtqfzmHoqJ
- Attachments
-
- Capture.PNG (68.92 KiB) Viewed 450 times
Re: Alerts like metal gear?
We're almost there. Let's just take one step back first. What gameplay event should cause this whole thing to happen?