여러분이 쓰는 듀프는 로컬유저플레이어 라는 좌표를잡고 몹이 배회하게 만드는 것 입니다
ss듀프라는게 그런건데 지금 아이들이 날지를못하니 한쪽으로 특정좌표로 모이게만들면 되지않을까싶어 시도해보고있는데
가능해서
알려드립니다 날지는않는데 가로 또는 세로로뭉치네요 스크립트 좀 만지시는분들 짜서 넣어봐요
if (platformCandidatesNum > 0) then
-- 특정 좌표로 몹 이동
local targetX = 100 -- 특정 X 좌표로 설정
local targetY = 50 -- 특정 Y 좌표로 설정
for i=1, #platforms do
local platform = platformCandidates[i]
local destX = platform.left.x + (_GlobalRand32:RandomDouble() * platform.right.x - platform.left.x)
local destY = platform.left.y
local moveToTargetPlatform = true
-- 플랫폼으로 이동
makeCommand(_MobActionPartType.Fly, destX, destY, false, "Npc")
endend
댓글5
ㅋㅋ착하시네
감사합니다
루아로 만지나요 ss로 만지나요
감사합니다
형님그럼 MobComponent.ResetMob 이건 안건드려도 되는건가요 ㅠ?