[ZSDF] 'ExitMessage' Block
Moderator: GZDoom Developers
[ZSDF] 'ExitMessage' Block
The last choice in any ZSDF dialog is automatically added; a choice that simply exits the dialog without setting the conversation to another page in the process. This request is for a block that, when present, would replace the standard exit message with one that can be customized, albeit to a lesser degree than a standard 'choice' block. You'd be able to set 'text'. This is intended to work in tandem with the 'Randomized string support for additional parameters' suggestion; you could, for example, have randomly selected exit messages that are different when talking to a hostile NPC as opposed to friendly or neutral NPCs.
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: [ZSDF] 'ExitMessage' Block
I suppose this would be to avoid the "thanks, bye" response to "we're going to kill you".
- Kinsie
- Posts: 7399
- Joined: Fri Oct 22, 2004 9:22 am
- Graphics Processor: nVidia with Vulkan support
- Location: MAP33
- Contact:
Re: [ZSDF] 'ExitMessage' Block
This already exists, at least for static, non-random messages, as the "goodbye" key. It doesn't seem to be on the Wiki, though. I should probably fix that.
EDIT: I've updated the [wiki]ZDoom Strife Dialog Format[/wiki] wiki page with the exclusive features of that namespace.
Code: Select all
Conversation
{
id = 8;
Page
{
name = "Guard";
dialog = "We're going to kill you!";
goodbye = "Eek! How scary!";
}
}
Re: [ZSDF] 'ExitMessage' Block
That's cool. Certainly an improvement over "WE'RE GOING TO KILL YOU!" "Thanks, bye!", even if you can't randomize it.Kinsie wrote:This already exists, at least for static, non-random messages, as the "goodbye" key.
Thanks for that!EDIT: I've updated the [wiki]ZDoom Strife Dialog Format[/wiki] wiki page with the exclusive features of that namespace.
Re: [ZSDF] 'ExitMessage' Block
This can be closed; I didn't realize until recently that 'goodbye' can in fact take random strings defined in LANGUAGE, which means you can have as many as ten, not just the three random strings in vanilla Strife's exit message.