채팅0

    맵밖숨기

    조회수 426

    local gethidepos = function()

    local mapInfo = _UserService.LocalPlayer.CurrentMap.MapInfoComponent

    local BoundLb = mapInfo.BoundLb

    local BoundRt = mapInfo.BoundRt

    local HidePos = Vector2((BoundLb.x + BoundRt.x)/2 , BoundLb.y - 100)

    return HidePos

    end

    local teleportTo = function(dest)

    _UserService.LocalPlayer.WsUser:SetMovementEnable(false)

    _UserService.LocalPlayer.TransformComponent.WorldPosition = dest

    end


    적용하는법 알려주실분 1ㄷ1드릴게요 제발형님들

    댓글2

    회원프로필

    이대로는 안되는거아님? 텔레포트 함수를 호출해야 되는거아닌가?

    2024.01.29 05:02
    회원프로필

    밑에꺼 그대로 퍼다 날랐노

    2024.01.29 05:05

      게시글 리스트
      제목작성자작성일조회
      2149401-29228
      2149301-29307
      2149201-29117
      2149101-29465
      2149001-29245
      2148901-29390
      2148801-29334
      2148701-29282
      2148601-29626
      2148501-29464
      2148401-29537
      2148301-29292
      2148201-29416
      2148101-29427
      2148001-29401
      2147901-29403
      2147801-29285
      2147701-29300
      2147601-29301
      2147501-29311
      안내 배너 이미지