Data on a single line of dialogue in a conversation.

Fields

text:Array<String>

* The text that will display for this line of dialogue. * Text will automatically wrap. * When the user advances the dialogue, the next entry in the array will concatenate on. * Advancing when the last entry is displayed will move to the next `DialogueEntryData`, * or end the conversation if there are no more.

@:optional@:default(1.0)optionalspeed:Null<Float>

* The relative speed at which text gets "typed out". * Setting `speed` to `1.5` would make it look like the character is speaking quickly, * and setting `speed` to `0.5` would make it look like the character is emphasizing each word.

speakerAnimation:String

* The animation the speaker should play for this line of dialogue.

speaker:String

* Which speaker is speaking. * @see `SpeakerData.hx`

boxAnimation:String

* Which animation to play for the dialogue box.

box:String

* Which dialogue box to use for this line of dialogue. * @see `DialogueBoxData.hx`