채팅0

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

    조회수 749

    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

      게시글 리스트
      제목작성자작성일조회
      3639102-15397
      3639002-15414
      3638902-15736
      3638802-15757
      3638702-15950
      3638602-15846
      3638502-15470
      3638402-15578
      3638302-15505
      3638202-15463
      3638102-151609
      3638002-15750
      3637902-15722
      3637802-15701
      3637702-151259
      3637602-15763
      3637502-15443
      3637402-15640
      3637302-151118
      3637202-151224
      안내 배너 이미지