Skip to main content

DialogIsRestrained

Callable

  • DialogIsRestrained(C: string | Character): boolean

  • Checks, if a given character is currently restrained


    Parameters

    • C: string | Character

      The character to check. Either the player (value: Player) or the current character (value: CurrentCharacter)

    Returns boolean

    • Returns true, if the given character is wearing restraints, false otherwise