Skip to main content

SpeechGarble

Callable

  • SpeechGarble(C: Character, CD: string, NoDeaf?: boolean): string

  • Processes the character's speech, anything between parentheses isn't touched.

    Effects alter the speech differently according to a character's language. Effects that can be applied are the following: gag talk, baby talk and stuttering.

    @deprecated

    Parameters

    • C: Character

      The character, whose dialog might need to be altered

    • CD: string

      The character's dialog to alter

    • optionalNoDeaf: boolean = false

      Whether or not deafness affects the dialogue

    Returns string

    • Returns the dialog after speech effects were processed (Garbling, Stuttering, Baby talk)