While questions are not needed to start a dialog, they can be written to execute a function (that can even be another dialog...)
Functions
P_InitiateDialog(player_t player, mobj npc, table lines)
Initiate a new dialog.
P_ResetDialogboxPositions(player_t player)
Reset dialog box positions to their initial position before drawing text.
P_NextDialogParagraph(player_t player)
Go to the next paragraph.
dialog.drawcount explanation
-1: sliding up
-2: sliding down
-3: end dialog
P_InitiateDialog(player_t player, mobj npc, table lines)
Initiate a new dialog.
P_ResetDialogboxPositions(player_t player)
Reset dialog box positions to their initial position before drawing text.
P_NextDialogParagraph(player_t player)
Go to the next paragraph.
dialog.drawcount explanation
-1: sliding up
-2: sliding down
-3: end dialog
Attachments
Last edited: