local targetX = target.TransformComponent.WorldPosition.x + 0.5
newInputX = targetX > mobX and 1 or -1else
nextAction = (_GlobalRand32:RandomIntegerRange(100, 300) / 1000)
newInputX = _GlobalRand32:RandomIntegerRange(-1, 1)
end
local platforms = mob.CurrentMap.PlatformInfoComponent
local timelines = {}
local timelineIndex = 0
--log("platform left x (fh=%d)", platform.left.x, platform.left.foothold.Id)
--log("platform right x (fh=%d)", platform.right.x, platform.right.foothold.Id)
local lastTimeline = 0
local playerFh = _UserService.LocalPlayer.WsUserController.LastFoothold
if (playerFh == 0 or platforms.ZMass[playerFh] ~= ai.LocalStartChaseZMass) then
--ai.LocalUnchaseTick += 1
--ai:IncUnTick()
local rb = mob.MobRigidbodyComponent
end
local function makeCommand(cmd, value, timeline, nextActionTime)
timelines[timelineIndex + 1] = {cmd, value, timeline - lastTimeline, nextActionTime}
timelineIndex += 1
lastTimeline = timeline
end
makeCommand(_MobActionPartType.Move, newInputX, 0, nextAction)
ai.NextRandomJump = math.max(ai.NextRandomJump, now + 1)
저 부분에서 몇개만 수정하면됨 알아서하셈
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22387 | |
| 61793 | 03:20 | 169 | ||
| 61792 | 12-28 | 443 | ||
| 61791 | 12-28 | 490 | ||
| 61790 | 12-26 | 727 | ||
| 61789 | 12-25 | 874 | ||
| 61788 | 12-25 | 817 | ||
| 61787 | 12-24 | 1106 | ||
| 61786 | 12-23 | 1464 | ||
| 61785 | 12-22 | 1460 | ||
| 61784 | 12-22 | 1616 | ||
| 61783 | 12-22 | 1417 | ||
| 61782 | 12-21 | 1483 | ||
| 61781 | 12-21 | 1658 | ||
| 61780 | 12-21 | 1573 | ||
| 61779 | 12-19 | 1763 | ||
| 61778 | 12-18 | 1855 | ||
| 61777 | 12-18 | 2495 | ||
| 61776 | 12-16 | 2373 | ||
| 61775 | 12-14 | 2460 |
댓글6
이건 그냥 내가뿌린코드가 아닌겨
형님 근데 진짜 지형어케 해야하나요??
여기서 찾아서 수정하면된다는거자나 하나씩 만져봐야지
감사합니다 형
어디 타이틀에 넣어야 하나요?
야 너는 공유뜻을 모르냐