채팅0

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

    조회수 718

    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

      게시글 리스트
      제목작성자작성일조회
      공지10-2022078
      6163611-0681
      6163511-0692
      6163411-06112
      6163311-05321
      6163211-05236
      6163111-05259
      6163011-05236
      6162911-05383
      6162811-04399
      6162711-04500
      6162611-04628
      6162511-04597
      6162411-03628
      6162311-03712
      6162211-03764
      6162111-02888
      6162011-02722
      6161911-02813
      6161811-02950
      안내 배너 이미지