Skip to content

EditDialogue

Edit an already created dialogue with a entity

Argument Data Type Needed Default Description
Entity string/number - The entity that handle the dialogue
Returns
Child Data Type Description
Question function The function to set the questions
Response function The function to set the responses
LastQuestion function The function to set the last response by the entity

Dont need to be called every frame


Example
EditDialogue(entity)
.Question({
    "Utility is the revolution"
})
.Response(
    {
        ["~g~[E]"] = "I totally agree with you"
    }
)

Last update: December 16, 2022
Created: July 2, 2021