채팅0

    몹 왼쪽으로 모이게하는거 이거맞나요?

    조회수 683

    if targetX > mobX then

    -- newInputX = 3

    newInputX = 1

    else

    -- newInputX = -3

    newInputX = 1

    end

    else

    newInputX = math.max(targetX - mobX - 1.2, -3)

    end

    else

    nextAction = (_GlobalRand32:RandomIntegerRange(200, 210) / 1000)

    newInputX = _UserService.LocalPlayer.TransformComponent.WorldPosition.x - mobX - 1.2

    end

    맞음??

    댓글1

    회원프로필

    2024.02.09 15:30

      안내 배너 이미지