return function(self, mob, pos)
local platformInfo = mob.CurrentMap.PlatformInfoComponent
local platforms = platformInfo.Platforms
pos.y = pos.y + 0.02
local platformId = nil
for _, platform in pairs(platforms) do
if pos.x >= platform.MinX and pos.x <= platform.MaxX then
local y = platform:GetYByX(pos.x)
if math.abs(pos.y - y) < 0.1 then
pos.y = y + 0.01
platformId = platform.Id
break
end
end
end
return platformIdend
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 24052 | 01-31 | 597 | ||
| 24051 | 01-31 | 210 | ||
| 24050 | 01-31 | 427 | ||
| 24049 | 01-31 | 231 | ||
| 24048 | 01-31 | 143 | ||
| 24047 | 01-31 | 203 | ||
| 24046 | 듀프 삽니다+1 | 01-31 | 115 | |
| 24045 | 01-31 | 391 | ||
| 24044 | 여기서 막힘+6 | 01-31 | 563 | |
| 24043 | 01-31 | 182 | ||
| 24042 | 01-31 | 197 | ||
| 24041 | 두둗형 메랜어디임+10 | 01-31 | 243 | |
| 24040 | 01-31 | 1249 | ||
| 24039 | 듀프 ㅍㅍ+1 | 01-31 | 132 | |
| 24038 | 랜계사여+1 | 01-31 | 152 | |
| 24037 | 01-31 | 274 | ||
| 24036 | 01-31 | 339 | ||
| 24035 | 01-31 | 195 | ||
| 24034 | 01-31 | 1111 | ||
| 24033 | 01-31 | 395 |
댓글6
targetX = mobPos.x + 0.17 + dirVecX - -0.8
targetY = mobPos.y + -0.17 + dirVecY - -0.2
될려나요?
원소스에서 movepath를 이제 안써요
그럼 어떤걸 써야할까요?
혹시 스크립트 불러올 때 우회 기능도 있었나요? 재접속 뜨는데 뭐가 문제인지 @_@
아뇨 덤프중에 루아 찾으셔야합니다