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
이렇게 해라
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 57593 | 07-27 | 2608 | ||
| 57592 | 게임 엔진필요+1 | 07-27 | 3038 | |
| 57591 | 07-27 | 3191 | ||
| 57590 | 07-27 | 2402 | ||
| 57589 | 07-26 | 2795 | ||
| 57588 | 07-26 | 5784 | ||
| 57587 | 07-25 | 2843 | ||
| 57586 | 07-25 | 2715 | ||
| 57585 | 07-25 | 3051 | ||
| 57584 | 07-25 | 2713 | ||
| 57583 | 07-25 | 2893 | ||
| 57582 | 07-24 | 2511 | ||
| 57581 | 07-24 | 3316 | ||
| 57580 | 07-24 | 3128 | ||
| 57579 | ㅋㅌㅇ 삽니다+4 | 07-24 | 2647 | |
| 57578 | 07-24 | 2551 | ||
| 57577 | 07-24 | 2892 | ||
| 57576 | 07-23 | 3218 | ||
| 57575 | 07-23 | 2613 | ||
| 57574 | 07-23 | 2924 |
댓글3
for문 쓸줄아는 사람 너무 섹시해
형님미안한데 이거 몹텔은안타는겨 ?
어디서바꾸나여?