Skip to main content

CharacterCanKneel

Callable


  • Checks whether the given character can kneel. minimumStatus determines to what extent the character must be able to kneel for this to pass.


    Parameters

    • C: Character

      The character to check

    • optionalminimumStatus: PoseChangeStatus = PoseChangeStatus.ALWAYS

      The threshold pose change status required for this check to succeed. By default, the player must be able to kneel unaided, but this can be set lower (to allow struggling to kneel, aid, etc.).

    Returns boolean

    • Returns true if the character's ability to kneel meets the specified threshold, false otherwise