mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Document ReuseDialogueOptionsListFrom
This commit is contained in:
parent
e55c448879
commit
aa2da3a4c7
@ -27,6 +27,24 @@ A persistent condition is similar to a condition, except it _persists_ through l
|
||||
|
||||
A remote trigger is used to have an NPC talk to you from a distance; ex: Slate stopping you for the umpteenth time to tell you information you already knew.
|
||||
|
||||
### ReuseDialogueOptionsListFrom
|
||||
|
||||
This is a custom XML node introduced by New Horizons. Use it when adding new dialogue to existing characters, to repeat the dialogue options list from another node.
|
||||
|
||||
For example, Slate's first dialogue with options is named `Scientist5`. To make a custom DialogueNode using these dialogue options (meaning new dialogue said by Slate, but reusing the possible player responses) you can write:
|
||||
|
||||
```xml
|
||||
<DialogueNode>
|
||||
<Name>...</Name>
|
||||
<Dialogue>
|
||||
<Page>NEW DIALOGUE FOR SLATE HERE.</Page>
|
||||
</Dialogue>
|
||||
<DialogueOptionsList>
|
||||
<ReuseDialogueOptionsListFrom>Scientist5</ReuseDialogueOptionsListFrom>
|
||||
</DialogueOptionsList>
|
||||
</DialogueNode>
|
||||
```
|
||||
|
||||
## Example XML
|
||||
|
||||
Here's an example dialogue XML:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user