Dialog Box
Dialogue statement display
Last updated
Dialogue statement display
Last updated
The Dialog Box is a widget the Quillscript Interpreter uses to display dialogue lines to the player, including the speaker's name. Every Dialogue statement in your script is displayed on the screen through a Dialog Box widget.
Example:
Quillscript Plugin provides a built-in Dialog Box widget. Although fully functional, the default widget is intended as a basic example for general purposes. For most projects, it may be required to create custom widgets that suits better the project’s required functionalities, game design, visual identity, and aesthetics.
To create your own Dialog Box widget, it must conform with two requirements:
Quillscript provides a convenient shortcut for that on the content browser menu.
You will be prompted to copy the built-in Dialog Box widget or create a blank one from scratch.
You can find the Play event in your Event Graph or use the Blueprint's override function menu.
The Play event is called by the Interpreter for every Dialogue statement.
Once your Dialogue Box is done, you can use it by setting your Default Dialogue Box Class in Quillscript Settings or change it on demand using the built-in function $ Use.
For some projects, Quillscript user interface management may be incompatible with its design or code. For these cases, you can turn off UI management in Quillscript Plugin settings.
When disabled, the Interpreter will no longer manage the lifecycle of the Dialogue Box, and it is up to you to create, update, delete, etc., your widget. This widget is not required to be a child class nor implement the Play event.
You can assign to the On Play Dialogue Box event, to be notified when a dialogue box should play.