채팅0

    맵밖숨 힌트주실분.............

    조회수 558

    연구해도 모르겠네 스승구함! 노되팔이

    댓글7

    회원프로필

    --- 사람이 2명 이상일때 ----
                if zz_y7.is_someone_in_world() then
                    --- 만약에 듀프가 실해중이라면 ---
                    if zz_y7.use_momo then

                        ---- 듀프 종료 ----
                        zz_y7.use_momo = false 

                        --- 테스트 ---
                        zz_y7.dupe_func()
                        ---- 현재 포지션을 저장 ----
                        zz_y7.posPlayer = _UserService.LocalPlayer.TransformComponent.WorldPosition
                        ---- 밖으로 튕겨나감 ----
                        --_UserService.LocalPlayer.TransformComponent:Translate( 200 , 200)
                        zz_y7.auto_safe_count = 0
                        zz_y7.auto_safe_timer = _TimerService:SetTimerRepeat(zz_y7.telport_func, 1)
                        --zz_y7.telport_func()
                    end
                    return
                ---- 나 혼자 맵에 있을때 ----
                else
                    --- 만약에 듀프가 실행상태가 아니라면 ---
                    if not zz_y7.use_momo then
                        ---- 듀프를 킨다 ----
                        zz_y7.use_momo = true           
                        --- 테스트 ---
                        --zz_y7.dupe_func()
                        zz_y7.flag_attack = true
                        ---- 플레이어가 저장된 위치로 이동한다. ----
                        _UserService.LocalPlayer.TransformComponent.WorldPosition = zz_y7.posPlayer

                    end
                end

    2024.01.28 08:06
    회원프로필

    오 감사합니다

    2024.01.28 08:07
    회원프로필

    zz_y7.RestoreSavedPositionIfOthersExist = function()
            local player = _UserService.LocalPlayer
            if zz_y7.is_someone_in_world() then
                if zz_y7.SavePositionCommand() then
                    player.TransformComponent.WorldPosition = zz_y7.savedPosition
                    _ScreenMessageLogic:PrivateMsg("누군가가 맵에 있어서 저장된 위치로 이동되었습니다.")
                else
                    _ScreenMessageLogic:PrivateMsg("저장된 위치가 없습니다.")
                end
            else
                _ScreenMessageLogic:PrivateMsg("맵에 다른 유저가 없습니다.")
            end
        end

    2024.01.28 08:06
    회원프로필

    ㄱㅅㄱㅅㄱㅅ

    2024.01.28 08:07
    회원프로필

    내가아는건 이게단데 갖다붙혀도안되고
    위에거는 테스트용이라는데 안되는거같고
    아래거는 위치저장하는 스크립트있어야한다함
    만들면 나도좀주라

    2024.01.28 08:08
    회원프로필

    ㄳㄳ 시도해봄

    2024.01.28 08:20
    회원프로필

    나도좀알려주라

    2024.01.28 08:25

      게시글 리스트
      제목작성자작성일조회
      공지10-2022125
      6167616:5549
      6167515:4352
      6167415:2757
      6167309:0589
      6167211-13176
      6167111-13214
      6167011-13216
      6166911-13207
      6166811-13219
      6166711-13240
      6166611-13361
      6166511-12370
      6166411-12394
      6166311-12450
      6166211-11590
      6166111-11547
      6166011-11711
      6165911-11594
      6165811-11755
      안내 배너 이미지