채팅0

    드롭 구분 스크립 이거 아닌거같은데?

    조회수 580
        for _, drop in ipairs(drops_output) do
    		if _ItemDropLogic:CheckDropOwner(dropComponent.OwnType, dropComponent.OwnId, dropComponent.CreateTim
    		local drop_pos = drop.Entity.TransformComponent.WorldPosition
    		local drop_pos = calculateDistance(player_pos, drop_pos)
    		table.insert(dropDistanceTable, {drop = drop, distance = drop_pos})
    		

    이게 맞다고?ㅋㅋ

    댓글2

    회원프로필

    이 코드는 아이템이 떨어졌을 때 그 위치를 확인하고, 그 위치와 플레이어의 위치 사이의 거리를 계산하여 그 정보를 테이블에 추가하는 부분입니다.

    2024.02.15 02:43
    회원프로필

    그렇다면 아래의 구문은 어디에 종속시켜야하는겁니까?,

    if _ItemDropLogic:CheckDropOwner(dropComponent.OwnType, dropComponent.OwnId,

    2024.02.15 02:44

      게시글 리스트
      제목작성자작성일조회
      공지10-2022364
      6178212-21153
      6178112-21205
      6178012-21200
      6177912-19425
      6177812-18562
      6177712-18925
      6177612-161034
      6177512-141184
      6177412-141488
      6177312-141412
      6177212-131301
      6177112-131674
      6177012-121621
      6176912-112245
      6176812-102266
      6176712-102057
      6176612-091961
      6176512-092104
      6176412-092280
      안내 배너 이미지