Hello! Is it possible to have multiple Alert panels, like its the case for Dialogue panels
?
I would like to be able to have multiple Alert panels skins, and choose one specifically when I call an alert (using the dialogue system trigger > Action > ShowAlert).
Thank you!
Different alert panels?
Different alert panels?
Currently working on ->Squeakross: Home Squeak Home<- Using Dialogue System Save System and other features.
Previous game made with Dialogue system ->The Spirit and The mouse<-
Previous game made with Dialogue system ->The Spirit and The mouse<-
Re: Different alert panels?
Hi,
You can do it with a little code. Make a subclass of StandardDialogueUI, and override the ShowAlert and HideAlert methods to show and hide the message in a specific panel. You could include the panel number in the alert text, maybe something like:
Then in your overridden ShowAlert() method, remove "[panel=2]" from the text and show the resulting text in your alert panel #2.
You can do it with a little code. Make a subclass of StandardDialogueUI, and override the ShowAlert and HideAlert methods to show and hide the message in a specific panel. You could include the panel number in the alert text, maybe something like:
Code: Select all
DialogueManager.ShowAlert("[panel=2] I'm in panel 2!");
Re: Different alert panels?
that's awesome, thanks a lot I will try this !!
Currently working on ->Squeakross: Home Squeak Home<- Using Dialogue System Save System and other features.
Previous game made with Dialogue system ->The Spirit and The mouse<-
Previous game made with Dialogue system ->The Spirit and The mouse<-