Changes

Jump to navigation Jump to search
updated $p description to match 1.6 migration page
Line 381: Line 381:  
| <samp>$p {{t|response ID}}#{{t|match text}}&#124;{{t|no-match text}}</samp>
 
| <samp>$p {{t|response ID}}#{{t|match text}}&#124;{{t|no-match text}}</samp>
 
| Stands for "dialoguePrerequisite".  Shows different text depending on whether the player gave a particular answer to a previously-asked question.  If {{t|response ID}} matches an answer the player gave, {{t|match text}} is shown; otherwise, {{t|no-match text}} is shown. These texts are separated by <code>&#124;</code> and only {{t|no-match text}} can contain additional commands. This does not need to be the first command in the dialogue string.
 
| Stands for "dialoguePrerequisite".  Shows different text depending on whether the player gave a particular answer to a previously-asked question.  If {{t|response ID}} matches an answer the player gave, {{t|match text}} is shown; otherwise, {{t|no-match text}} is shown. These texts are separated by <code>&#124;</code> and only {{t|no-match text}} can contain additional commands. This does not need to be the first command in the dialogue string.
 +
 +
You can check multiple response IDs. For example, this will show the first dialogue if the player chose dialogue answer 17, 18, or 19:
 +
<pre>$p 17|18|19#I guess you think nothing would happen, right?$u|Maybe a wicked ghost would appear!</pre>
 
|-
 
|-
 
| <samp>$b</samp>
 
| <samp>$b</samp>
21

edits

Navigation menu