File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### Signals
6
6
7
- - ` dialogue_started(resource: DialogueResource) ` - emitted when a dialogue balloon is created and dialogue begins.
8
- - ` passed_title(title) ` - emitted when a title marker is passed through.
7
+ - ` dialogue_started(resource: DialogueResource) ` - emitted when a dialogue balloon is created by ` DialogueManager ` and dialogue begins.
8
+ - ` passed_title(title: String ) ` - emitted when a title marker is passed through.
9
9
- ` got_dialogue(line: DialogueLine) ` - emitted when a dialogue line is found.
10
10
- ` mutated(mutation: Dictionary) ` - emitted when a mutation line is about to be run (not including ` set ` lines).
11
11
- ` dialogue_ended(resource: DialogueResource) ` - emitted when the next line of dialogue is empty and provides the calling resource.
@@ -41,8 +41,9 @@ Returns a `DialogueLine` that looks something like this:
41
41
- ` responses: Array[DialogueResponse] ` - the list of responses to this line (or ` [] ` if none are available).
42
42
- ` id: String ` - the ID of the response.
43
43
- ` next_id: String ` - the ID of the next line if this response is chosen.
44
- - ` is_allowed: bool ` - whether this line passed its condition check (useful if you have "include all responses" enabled).
45
- - ` character: String ` - the character name (if one was provided).
44
+ - ` is_allowed: bool ` - whether this line passed its condition check.
45
+ - ` condition_as_text: String ` - the original condition (as a string) used to check if this response is allowed.
46
+ - ` character: String ` - the character name (or ` "" ` ).
46
47
- ` text: String ` - the text for this response.
47
48
- ` tags: PackedStringArray ` - a list of tags.
48
49
- ` translation_key: String ` - the key used to translate the text (or the whole text again if no ID was specified on the response).
You can’t perform that action at this time.
0 commit comments