zz_y7.filter_only_live_mobs = function (hit,temp,output)
if (hit > 0) then
local count = 0
for _,c in ipairs(temp) do
---@type MobComponent
local mob = c.Entity.MobComponent
if (mob.Hp > 0) then
continue
end
count += 1
output[#output + 1] = mob
end
if (count > 0) then
return count
end
end
return 0
end
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57592 | 게임 엔진필요+1 | 07-27 | 3052 | |
| 57591 | 07-27 | 3214 | ||
| 57590 | 07-27 | 2415 | ||
| 57589 | 07-26 | 2812 | ||
| 57588 | 07-26 | 5834 | ||
| 57587 | 07-25 | 2861 | ||
| 57586 | 07-25 | 2731 | ||
| 57585 | 07-25 | 3068 | ||
| 57584 | 07-25 | 2735 | ||
| 57583 | 07-25 | 2907 | ||
| 57582 | 07-24 | 2524 | ||
| 57581 | 07-24 | 3341 | ||
| 57580 | 07-24 | 3146 | ||
| 57579 | ㅋㅌㅇ 삽니다+4 | 07-24 | 2662 | |
| 57578 | 07-24 | 2566 | ||
| 57577 | 07-24 | 2912 | ||
| 57576 | 07-23 | 3237 | ||
| 57575 | 07-23 | 2636 | ||
| 57574 | 07-23 | 2941 | ||
| 57573 | 07-23 | 3117 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?