Anyone know how to make multiple dialogues one after the other. When I call Game1.drawObjectDialogue multiple times, only the last one is displayed.
I was able to get multiple messages to display sequentially using Game1.multipleDialogues(string[]). Its odd though that the first message uses a full sized dialogue box and subsequent dialogue boxes are only the height of a single line. Any suggestions?
Example: Code: public override void Entry(IModHelper helper){ StardewModdingAPI.Events.SaveEvents.AfterSave += _Event; } public void _Event(Object sender, EventArgs e){ string[] strings = new string[2]; string[0] = "test1"; string[1] = "test2"; StardewValley.Game1.multipleDialogues(strings); }
Dialogue strings in the game have escape characters that tell the dialogue box how to function. If this is a single message that you're trying to convey, try using a single string. If this is meant to be separate messages, you need a way to spread them out (some trigger) so they aren't overwriting each other. Hope this helps