Changes

135 bytes added ,  17:01, 3 October 2019
→‎Dialogue commands: added note about question ids
Line 256: Line 256:  
|-
 
|-
 
| <tt>$q {{t|response IDs}} {{t|fallback}}#{{t|text}}</tt>
 
| <tt>$q {{t|response IDs}} {{t|fallback}}#{{t|text}}</tt>
| Show a dialogue box containing the given question text.  If {{t|response IDs}} (a list delimited by <code>/</code>) contains an answer already given, the question is skipped (along with the rest of this dialogue line), and instead the dialogue entry identified by {{t|fallback}} will be appended to whatever precedes this $q command.  The {{t|fallback}} dialogue typically uses a $p command to adjust the text based on the player's answer to this question.
+
| Show a dialogue box containing the given question text.  If {{t|response IDs}} (a list delimited by <code>/</code>) contains an answer already given, the question is skipped (along with the rest of this dialogue line), and instead the dialogue entry identified by {{t|fallback}} will be appended to whatever precedes this $q command.  The {{t|fallback}} dialogue typically uses a $p command to adjust the text based on the player's answer to this question. NOTE: dialogue questions must use unique IDs, similar to events.  See [[Modding:Event_data|the event data page]] for more information.
 
|-
 
|-
 
| <tt>$r {{t|response ID}} {{t|friendship}} {{t|reaction}}#{{t|answer text}}</tt>
 
| <tt>$r {{t|response ID}} {{t|friendship}} {{t|reaction}}#{{t|answer text}}</tt>
153

edits