채팅0

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

    조회수 750

    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-2022554
      6185119:1715
      6185008:5791
      6184901:00153
      6184802-08277
      6184702-08264
      6184602-08217
      6184502-08290
      6184402-08287
      6184302-07368
      6184202-06782
      6184102-031014
      6184002-021569
      6183902-011504
      6183802-011396
      6183702-011292
      6183601-291727
      6183501-291748
      6183401-282162
      6183301-282126
      안내 배너 이미지