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
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 24053 | 01-31 | 479 | ||
| 24052 | 01-31 | 600 | ||
| 24051 | 01-31 | 212 | ||
| 24050 | 01-31 | 429 | ||
| 24049 | 01-31 | 233 | ||
| 24048 | 01-31 | 147 | ||
| 24047 | 01-31 | 205 | ||
| 24046 | 듀프 삽니다+1 | 01-31 | 117 | |
| 24045 | 01-31 | 395 | ||
| 24044 | 여기서 막힘+6 | 01-31 | 565 | |
| 24043 | 01-31 | 184 | ||
| 24042 | 01-31 | 200 | ||
| 24041 | 두둗형 메랜어디임+10 | 01-31 | 245 | |
| 24040 | 01-31 | 1294 | ||
| 24039 | 듀프 ㅍㅍ+1 | 01-31 | 133 | |
| 24038 | 랜계사여+1 | 01-31 | 154 | |
| 24037 | 01-31 | 278 | ||
| 24036 | 01-31 | 344 | ||
| 24035 | 01-31 | 200 | ||
| 24034 | 01-31 | 1136 |
댓글6
targetX = mobPos.x + 0.17 + dirVecX - -0.8
targetY = mobPos.y + -0.17 + dirVecY - -0.2
될려나요?
원소스에서 movepath를 이제 안써요
그럼 어떤걸 써야할까요?
혹시 스크립트 불러올 때 우회 기능도 있었나요? 재접속 뜨는데 뭐가 문제인지 @_@
아뇨 덤프중에 루아 찾으셔야합니다