Moosh NPC: Dialogue Branch Add-on
Overview
Creator:
Moosh
Updated: 18 Apr 2023
Tags:
FFC
Downloads: 107
|
View Script
Download Example (1.2 MB) |
Information
This script adds dialogue branches to my NPC script.
Description Setup Reviews Comments
First there's a couple constants you need to set:
DialogueBranch_Simple
This version only works on NPCScript_Simple because of the number of arguments, but it should be good enough for most basic applications.
This version of the script can work on either version of the NPC script, but requires much more setup in the string editor itself.
- FONT_DIALOGUE_BRANCH: This is the font used by the dialogue branches. See FONT_ in std_constants.zh for the list.
- C_FONT_DIALOGUE_BRANCH: This is the color used for the font
DialogueBranch_Simple
This version only works on NPCScript_Simple because of the number of arguments, but it should be good enough for most basic applications.
- D0: The string for the first option in the dialogue branch
- D1: The string for the second option in the dialogue branch
- D2: The string for the third option in the dialogue branch (set to 0 if no third option)
- D3: The string for the first response in the dialogue branch
- D4: The string for the second response in the dialogue branch
- D5: The string for the third response in the dialogue branch (once again, optional)
This version of the script can work on either version of the NPC script, but requires much more setup in the string editor itself.
- D0: The string for the control string to run. See DialogueBranch_Advanced - Usage.txt for an explanation of what these are and how they're used.