질문과 답변

Extra Form


왼쪽의 메모장은 현제 스크립트 내부를 그대로 복사해둔거고요



이벤트는 이렇게 해놨는데

계속 이 맵에만 들어가면 오류가 나더라고요

어떻게 해야하죠?

Comment '2'
  • ?
    미르(Mir) 2014.05.05 00:23
    어 사진이 않나왔네요 ㅠ
    module Coustom_Save
    def save1
    file=File.open("data/savedfile1.rvdata", "wb")
    Marshal.dump($game_switches,file)
    Marshal.dump($game_variables,file)
    file.close
    end
    end


    이 스크립트고요

    이벤트에는 Coustom_Save.save1 라고 적어넣었어요

    그런데 나오는 오류가
    NoMethodError occurred while running script
    undefined method 'save1n' for Coustom_Save:Module

    라고 나오네요
  • profile
    Omegaroid 2014.05.05 00:47
    기본 스크립트를 아래와 같이 고쳐주시기 바랍니다.

    스크립트 에디터 보는 법 모르면 찾아서 미리 숙지한 다음에 진행하세요.
    거듭 강조합니다. 스크립트 에디터 보는 법 숙지하고 진행하세요.


    //-----------------------------------------------------
    Game_Interpreter섹션 1676줄
    수정전
    script = @list[@index].parameters[0] + "n"
    수정후
    script = @list[@index].parameters[0] + "\n"

    //-----------------------------------------------------
    Game_Interpreter섹션 1679줄
    수정전
    script += @list[@index+1].parameters[0] + "n"
    수정후
    script += @list[@index+1].parameters[0] + "\n"

    //-----------------------------------------------------
    Sprite_Character섹션 92번째 줄
    수정전
    sign = @character_name[/^[!$]./]
    수정후
    sign = @character_name[/^[\!\$]./]
    //-----------------------------------------------------
    Window_Base섹션 189번째 줄
    수정전
    sign = character_name[/^[!$]./]
    수정후
    sign = character_name[/^[\!\$]./]

List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12460
Board Pagination Prev 1 ... 5 Next
/ 5