채팅0

    템줍 소유권, 버프, 도움점

    조회수 717

    ItemDropLogic:CheckDropOwner(dropComponent.OwnType, dropComponent.OwnId,


    이게 픽 밑에 종속되는게 아닌거같음


    그 이상은 내 대갈로 이해가 안감


    애시당초 소스를 내가 만든게 아니고, 작동하는 규율과 순서도 모르니..


    ㅎㅈ 가능

    댓글4

    회원프로필

    for _, drop in ipairs(drops_output) do
    if _ItemDropLogic:CheckDropOwner(dropComponent.OwnType, dropComponent.OwnId, dropComponent.CreateTim
    local drop_pos = drop.Entity.TransformComponent.WorldPosition
    뒤져 봤는데 중간에 if_ 넣는거 아닌가요 일단 확인은 안해봤어용

    2024.02.15 04:17
    회원프로필

    픽타이밍 밑에 종속 시켜보니까 안되잖니 빡대갈아 어휴 속터져

    2024.02.15 04:20
    회원프로필

    안된다고 하긴 좀 그렇고,, 아에 겜 로딩하나 뻑난다

    2024.02.15 04:21
    회원프로필

    챗지피티한테 물어보니까
    for _, drop in ipairs(drops_output) do
    -- CheckDropOwner 함수가 true를 반환하면 아이템의 소유자가 자신임을 의미
    if _ItemDropLogic:CheckDropOwner(dropComponent.OwnType, dropComponent.OwnId, dropComponent.CreateTim) then
    local drop_pos = drop.Entity.TransformComponent.WorldPosition
    local drop_pos = calculateDistance(player_pos, drop_pos)
    table.insert(dropDistanceTable, {drop = drop, distance = drop_pos})
    end
    end

    2024.02.15 04:41

      게시글 리스트
      제목작성자작성일조회
      3639702-15442
      3639602-15438
      3639502-15501
      3639402-15599
      3639302-15462
      3639202-15403
      3639102-15371
      3639002-15384
      3638902-15699
      3638802-15730
      3638702-15902
      3638602-15810
      3638502-15431
      3638402-15549
      3638302-15474
      3638202-15436
      3638102-151529
      3638002-15718
      3637902-15693
      3637802-15665
      안내 배너 이미지