Dialogues - mazexz7/simpsons-hit-run GitHub Wiki
Functions and instructions for dialogue module
Notice: Functions must have the prefix 'dialogues.'
This module needs to be edited in order to suit your mod
All of these commands are supported by Donut Team's
game.lua
module, make sure you have that in your mod.
Mission console commands
speak(Name)
Plays a dialog audio file at the end of a stage | Returns a SetCompletionDialog() function with a random sound
Name
: Character;
Module settings
dialogues['character'] = n
inside the script.
This module provides the option to add characters to it. To do that, simply add character
: Character;n
: float;