RPGVX 스크립트
2009.04.30 23:48

액터선택지이벤트제작 간편화 스크립트

조회 수 2537 추천 수 3 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

자작 스크립트입니다.


 


 


사용법은 아래에 있습니다.


 


http://www.acoc.co.kr/bbs/zboard.php?head_data=head.php&footer_data=footer.php&root_data=../../ncoc2/&cafeno=&id=free&page=1&sn1=&divpage=11&sn=off&ss=on&sc=on&select_arrange=headnum&desc=asc&no=56606


 


 


이하 내용을 복사하여 스크립트 에디터의 소재 섹션 아무 곳에나 넣어 주십시오.


충돌의 우려는 거의 없습니다.


 


 


 


 


▽아래부터 복사


#==============================================================================
# ■ Scene_ActorChoice
#------------------------------------------------------------------------------
# 액터의 선택 후 선택한 액터의 ID, 선택시 인덱스를 각각 변수에 대입합니다.
#
# [사용방법]
# 이벤트커맨드 스크립트에서 $scene = Scene_ActorChoice 를 입력.
# 사용시의 윈도우는 Window_MenuStatus 를 이용했습니다.
# 변수에 액터 ID나 선택시 인덱스를 대입한 후에는 조건분기로 사용해 주십시오.
# 주의할 것은 선택시 인덱스는 실제 선택한 것이 몇 번째이든 -1을 해야 한다는 점입니다.
# 예) 선택화면에서 세 번째 캐릭터를 선택했을 때 인덱스 : 2
#
# [커스터마이즈]
# 66, 68행
# $game_variables[n]의 n 부분에 대입할 변수 ID를 기입해 주십시오.
#
# ※ 본 스크립트의 기본 베이스는 Scene_Menu를 사용했습니다.
#
#==============================================================================


class Scene_ActorChoice < Scene_Base
  #--------------------------------------------------------------------------
  # ● 오브젝트 초기화
  #     menu_index : 커멘드의 커서 초기 위치
  #--------------------------------------------------------------------------
  def initialize(menu_index = 0)
    @status_window_index = menu_index
  end
  #--------------------------------------------------------------------------
  # ● 개시 처리
  #--------------------------------------------------------------------------
  def start
    super
    create_menu_background
    @status_windows = Window_MenuStatus.new(0, 0)
    @status_windows.active = true
    @status_windows.index = @status_window_index
  end
  #--------------------------------------------------------------------------
  # ● 종료 처리
  #--------------------------------------------------------------------------
  def terminate
    super
    dispose_menu_background
    @status_windows.dispose
  end
  #--------------------------------------------------------------------------
  # ● 업데이트
  #-------------------------------------------------------------------------- 
  def update
    super
    update_menu_background
    @status_windows.update
    update_actor_selection_achoice
  end
  #--------------------------------------------------------------------------
  # ● 액터 선택의 갱신
  #--------------------------------------------------------------------------
  def update_actor_selection_achoice
    if Input.trigger?(Input::B)
      Sound.play_cancel
      $scene = Scene_Map.new
    elsif Input.trigger?(Input::C)
      $game_party.last_actor_index = @status_windows.index
      # n번 변수에 선택한 캐릭터의 선택시 인덱스(-1)를 대입한다. (초기값 48, 수정가능)
      $game_variables[48] = @status_windows.index
      # n번 변수에 선택한 캐릭터의 액터ID를 대입한다. (초기값 49, 수정가능)
      $game_variables[49] = $game_party.members[@status_windows.index].id
      Sound.play_decision
      $scene = Scene_Map.new
    end
  end
end


 


########################################################
# 제작 : dest21c (창조도시 Evangelista)                #
########################################################

?
  • ?
    차진스 2009.04.30 23:48
    사용하는데 에러가 납니다.

    왜 그런거죠? 너무 쓰고 싶은 스크립트인데...


  1. 3D 그래픽 파티클 스크립트

    Date2013.09.29 CategoryRPGVX 스크립트 By청담 Views1272 Votes0
    Read More
  2. vx 전용 오토세이브<자동저장>

    Date2011.08.31 CategoryRPGVX 스크립트 By고진수 Views2729 Votes0
    Read More
  3. vx 전용 오토세이브<자동저장>

    Date2011.08.31 CategoryRPGVX 스크립트 By고진수 Views2800 Votes0
    Read More
  4. 1인용메뉴

    Date2010.07.18 CategoryRPGVX 스크립트 ByA.M.S Views2560 Votes0
    Read More
  5. vx 한글이름입력

    Date2010.05.21 CategoryRPGVX 스크립트 By가가상 Views3061 Votes1
    Read More
  6. vx 한글이름입력

    Date2010.05.21 CategoryRPGVX 스크립트 By가가상 Views2771 Votes1
    Read More
  7. Window_Message_Plus v3.2

    Date2009.11.29 CategoryRPGVX 스크립트 By에존 Views2446 Votes1
    Read More
  8. Window_Message_Plus v3.2

    Date2009.11.29 CategoryRPGVX 스크립트 By에존 Views2647 Votes1
    Read More
  9. 이벤트커맨드 스크립트 조건분기법 모음

    Date2009.11.18 CategoryRPGVX 스크립트 ByEvangelista Views2589 Votes2
    Read More
  10. 이벤트커맨드 스크립트 조건분기법 모음

    Date2009.11.18 CategoryRPGVX 스크립트 ByEvangelista Views2533 Votes2
    Read More
  11. 이벤트커맨드 스크립트 사용법 모음

    Date2009.07.21 CategoryRPGVX 스크립트 ByEvangelista Views2530 Votes2
    Read More
  12. 이벤트커맨드 스크립트 사용법 모음

    Date2009.07.21 CategoryRPGVX 스크립트 ByEvangelista Views2645 Votes2
    Read More
  13. 에너미 아이템 변화 스크립트

    Date2009.05.29 CategoryRPGVX 스크립트 ByEvangelista Views2460 Votes1
    Read More
  14. 에너미 아이템 변화 스크립트

    Date2009.05.29 CategoryRPGVX 스크립트 ByEvangelista Views2835 Votes1
    Read More
  15. 액터선택지이벤트제작 간편화 스크립트

    Date2009.04.30 CategoryRPGVX 스크립트 ByEvangelista Views2078 Votes3
    Read More
  16. 액터선택지이벤트제작 간편화 스크립트

    Date2009.04.30 CategoryRPGVX 스크립트 ByEvangelista Views2537 Votes3
    Read More
  17. 이벤트커맨드 스크립트 관련 설명

    Date2009.01.29 CategoryRPGVX 스크립트 ByEvangelista Views2163 Votes3
    Read More
  18. 이벤트커맨드 스크립트 관련 설명

    Date2009.01.29 CategoryRPGVX 스크립트 ByEvangelista Views2655 Votes3
    Read More
  19. 현재 파티내 캐릭터를 선택지로 처리할 때 간편히 하자.

    Date2009.01.01 CategoryRPGVX 스크립트 ByEvangelista Views1778 Votes1
    Read More
  20. 현재 파티내 캐릭터를 선택지로 처리할 때 간편히 하자.

    Date2009.01.01 CategoryRPGVX 스크립트 ByEvangelista Views2277 Votes1
    Read More
Board Pagination Prev 1 2 Next
/ 2






[개인정보취급방침] | [이용약관] | [제휴문의] | [후원창구] | [인디사이드연혁]

Copyright © 1999 - 2016 INdiSide.com/(주)씨엘쓰리디 All Rights Reserved.
인디사이드 운영자 : 천무(이지선) | kernys(김원배) | 사신지(김병국)