채팅0

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

    조회수 557

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

    댓글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

      게시글 리스트
      제목작성자작성일조회
      2059701-28405
      2059601-28490
      2059501-28536
      2059401-28526
      2059301-28128
      2059201-28419
      2059101-28387
      2059001-28149
      2058901-28205
      2058801-28423
      2058701-28190
      2058601-28270
      2058501-28210
      2058401-28288
      2058301-28371
      2058201-28244
      2058101-28558
      2058001-28549
      2057901-28305
      2057801-282490
      안내 배너 이미지