Przejdź do treści

Dialog funtions

Functions related to the dialog system. For more information about the dialog system, see C_INFO.

Functions

InfoManager_HasFinished

InfoManager_HasFinished

Checks if the player finished the dialog

func int InfoManager_HasFinished() 

Return value
The function returns TRUE if the player finished the dialog, FALSE otherwise

Info_AddChoice

Info_AddChoice

Adds a dialog choice to the specified C_INFO instance

func void Info_AddChoice(var C_INFO dialog, var string text, var func fnc) 

Parameters

  • var C_INFO dialog - dialog instance
  • var string text - description of the choice
  • var func fnc - function to execute if the choice is selected

Info_ClearChoices

Info_ClearChoices

Clears the choices of the specified C_INFO instance

func void Info_ClearChoices(var C_INFO dialog) 

Parameters

  • var C_INFO dialog - dialog instance