RPGVX 스크립트
2009.07.21 16:53

이벤트커맨드 스크립트 사용법 모음

조회 수 2530 추천 수 2 댓글 2
?

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

출처 : DAIpage (http://daiambition.web.fc2.com)


부연설명 추가했음.


 




















































































00 



스크립트

(이벤트커맨드 3번탭 스크립트에서 삽입)


실행내용

   $game_self_switches[[1, 2, "A"]]= true

   맵ID가 1, 이벤트ID가 2인 이벤트의 셀프스위치 A를 ON

   $game_switches[1] ^= true

   스위치1의 ON / OFF를 전환한다.


   $game_switches[1] = true 로 돌리면 무조건 on


   = false로 돌리면 무조건 off

   $game_party.remove_actor(1)  1번 ID의 액터를 파티에서 제외한다.
   $game_party.add_actor(1)  1번 ID의 액터를 파티에 추가한다.
   $game_party.members[0].atk += 100

 선두 멤버의 ATK를 +100한다.


   [n]은 멤버 정렬 순서 -1 (3번째 멤버는 2인 식으로)

   $game_party.members[0].def += 100  선두 멤버의 DEF를 +100한다.
   $game_party.members[0].spi += 100  선두 멤버의 SPI를 +100한다.
   $game_party.members[0].agi += 100  선두 멤버의 AGI를 +100한다.
   $game_party.members[0].maxhp += 100  선두 멤버의 최대HP를 +100한다.
   $game_party.members[0].maxmp += 100  선두 멤버의 최대MP를 +100한다.
   $game_party.members[0].hp += 100  선두 멤버의 HP를 +100한다. (실질상 100회복)
   $game_party.members[0].mp += 100  선두 멤버의 MP를 +100한다. (실질상 100회복)
   $game_map.events[1].start  현재 위치하고 있는 맵의 ID 1번 이벤트를 강제시작한다. (트리거 무시)
   for event in $game_map.events_xy(1, 2)
    event.start
  end

 현재 위치하고 있는 맵의 x좌표1, y좌표2에 있는 이벤트를


   강제시작한다. (이벤트 ID는 상관없음. 좌표로만 계산)

   $game_party.gain_gold(100)  파티의 소지금을 +100한다.
   $game_party.lose_gold(100)  파티의 소지금을 -100한다.
   $game_self_switches[[1, 2, "A"]]= true/false  맵ID가 1, 이벤트ID가 2인 이벤트의 셀프스위치 A의 ON/OFF를 전환한다.
   for i in [4,6,7,9,11,12]
    $game_map.events[i].erase
  end
 현재 맵의 ID 4, 6, 7, 9, 11, 12번 이벤트를 강제일시삭제한다.
   map_id = @map_id
  for event in $game_map.events.values
    id = event.id
    if $game_self_switches[[map_id, id, "A"]] == true
      event.balloon_id = 1
    end
  end

 현재 맵에서 셀프스위치 A가 ON되어 있는 이벤트에


   강제적으로 말풍선 1번 (기본 느낌표)을 호출한다.


 


 


연출 등에 상당히 유용합니다. 특히 이벤트 제어 구문.

?

  1. 지속데미지 스크립트(MBS)

    Date2016.02.14 CategoryRPGVX Ace 스크립트 By天下太平 Views1519 Votes0
    Read More
  2. 죽었을경우 마을로이동 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1065 Votes0
    Read More
  3. 정지 모션 스크립트

    Date2013.09.26 CategoryRPGXP 스크립트 By Views713 Votes1
    Read More
  4. 점프 액션 플러그인.

    Date2015.11.07 CategoryRPGMV 플러그인 Byplam Views1219 Votes0
    Read More
  5. 전투속도 고속화 플러그인.

    Date2015.10.24 CategoryRPGMV 플러그인 By파란별빛 Views1097 Votes0
    Read More
  6. 전투 도중 멤버교체가 가능해지는 플러그인

    Date2016.01.13 CategoryRPGMV 플러그인 ByWailer Views1301 Votes0
    Read More
  7. 전메뉴 반투명화

    Date2013.10.01 CategoryRPGXP 스크립트 By Views768 Votes0
    Read More
  8. 장비제련 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views1024 Votes0
    Read More
  9. 장비 레벨 제한

    Date2013.10.01 CategoryRPGXP 스크립트 By Views903 Votes1
    Read More
  10. 자동으로 장애물을 피해가는 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views860 Votes0
    Read More
  11. 자동 세이브 스크립트

    Date2013.09.24 CategoryRPGXP 스크립트 By청담 Views842 Votes0
    Read More
  12. 일시정지 스크립트

    Date2013.09.29 CategoryRPGXP 스크립트 By청담 Views929 Votes0
    Read More
  13. 이벤트커맨드 스크립트 조건분기법 모음

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

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

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

    Date2009.07.21 CategoryRPGVX 스크립트 ByEvangelista Views2645 Votes2
    Read More
  17. 이벤트커맨드 스크립트 관련 설명

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

    Date2009.01.29 CategoryRPGVX 스크립트 ByEvangelista Views2655 Votes3
    Read More
  19. 이벤트(엑스트라) 좌표 콘트롤 플러그인(Move Route Extras - Version 1.1)

    Date2015.11.07 CategoryRPGMV 플러그인 Byplam Views861 Votes0
    Read More
  20. 이벤트 자동 추적 플러그인

    Date2016.04.27 CategoryRPGMV 플러그인 By러닝은빛 Views2709 Votes3
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 15 Next
/ 15






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

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