채팅0

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

    조회수 592
        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

      게시글 리스트
      제목작성자작성일조회
      3637102-15460
      3637002-15759
      3636902-15621
      3636802-15422
      3636702-15725
      3636602-15593
      3636502-151844
      3636402-15393
      3636302-15646
      3636202-151399
      3636102-15411
      3636002-15500
      3635902-15418
      3635802-15556
      3635702-15890
      3635602-15739
      3635502-15549
      3635402-15464
      3635302-15490
      3635202-151234
      안내 배너 이미지