def METHOD_NAME(self, args):
    """Start Function"""
    self.active = args["Activate"]
    self.walkSpeed = args["Walk Speed"]
    self.runSpeed = args["Run Speed"]
    self.avoidSliding = args["Avoid Sliding"]
    self.__lastPosition = self.object.worldPosition.copy()
    self.__lastDirection = Vector([0,0,0])
    self.__smoothSlidingFlag = False
    self.__smoothMov = clamp(args["Smooth Character Movement"], 0, 0.99)
    self.__smoothLast = Vector([0,0,0])
    self.staticJump = args["Static Jump Direction"]
    self.__jumpDirection = [0,0,0]
    self.staticJumpRot = args["Static Jump Rotation"]
    self.__jumpRotation = Matrix.Identity(3)
    self.character = bge.constraints.getCharacter(self.object)
    self.character.maxJumps = args["Max Jumps"]
    if self.active:
        if args["Make Object Invisible"]:
            self.object.visible = False