RPGVX Script
2009.07.21 16:53

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

Views 2731 Votes 2 Comment 2
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

출처 : 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. Mog_Battle_hud(MZ버전도 있습니다)

    Date2021.03.05 CategoryRPGMV Plugin By스트레이보우 Views2012 Votes0
    Read More
  2. 컷신 플러그인

    Date2020.10.30 CategoryRPGMV Plugin By스트레이보우 Views2694 Votes0
    Read More
  3. 업적플러그인

    Date2020.09.02 CategoryRPGMV Plugin By스트레이보우 Views2267 Votes0
    Read More
  4. 한글조합입력기(영어가능)

    Date2019.11.10 CategoryRPGXP Script By조규진1 Views1205 Votes0
    Read More
  5. 게임에서 제공해주는 노래가 아닌 외부에서 다운받고 안에 넣어쓰려면 어떻게 해야하나요?

    Date2019.07.26 CategoryRPGMV Plugin ByBigOrca Views1652 Votes0
    Read More
  6. Ghost Effect

    Date2019.01.20 CategoryRPGMV Plugin By러닝은빛 Views1325 Votes0
    Read More
  7. RPG XP Xas액알

    Date2018.10.30 CategoryRPGXP Script By심심치 Views1333 Votes0
    Read More
  8. 커스텀 숫자 입력 패드

    Date2018.10.19 CategoryRPGMV Plugin By러닝은빛 Views1399 Votes0
    Read More
  9. 9마리 이상의 몬스터 설정 | More Enemies

    Date2018.08.31 CategoryRPGMV Plugin By러닝은빛 Views1152 Votes0
    Read More
  10. 동적 맵 타일 수정 플러그인

    Date2018.07.17 CategoryRPGMV Plugin By베지테리안카카오 Views1252 Votes0
    Read More
  11. VXA에서 XBOX360 컨트롤러 사용 여부 체크

    Date2018.07.15 CategoryRPGVX Ace script By러닝은빛 Views1054 Votes0
    Read More
  12. RMMV 옵션 창에 메시지 속도 및 글자 크기 변경 기능 추가

    Date2018.07.15 CategoryRPGMV Plugin By러닝은빛 Views1799 Votes0
    Read More
  13. 한글 데미지 표시

    Date2018.07.09 CategoryRPGMV Plugin By러닝은빛 Views1618 Votes0
    Read More
  14. [ MV ] 심장[체력표시 하트] 플러그인

    Date2018.07.01 CategoryRPGMV Plugin By수성의물 Views2409 Votes0
    Read More
  15. [鳥小屋] 실적 플러그인(인게임 트로피 시스템)

    Date2017.10.31 CategoryRPGMV Plugin By이니군 Views1910 Votes0
    Read More
  16. LuD Script Package

    Date2017.08.16 CategoryRPGVX Ace script ByLuD Views1824 Votes0
    Read More
  17. [VXAce] 레이어 맵 <layer> 시스템

    Date2017.08.07 CategoryRPGVX Ace script ByLuD Views1479 Votes0
    Read More
  18. [RPG MV] 퀘스트 마커 지속 표시 플러그인

    Date2017.04.09 CategoryRPGMV Plugin Bylklslel Views1881 Votes0
    Read More
  19. Mirror Area - RPG Maker MV

    Date2017.01.03 CategoryRPGMV Plugin By러닝은빛 Views5182 Votes0
    Read More
  20. Keyboard Event - RPG Maker MV

    Date2017.01.03 CategoryRPGMV Plugin By러닝은빛 Views2457 Votes0
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 15 Next
/ 15


[privacy statements] | [Terms of Use] | [Contact us] | [Sponsorship] | [Indiside History]

Copyright © 1999 - 2016 INdiSide.com/CL3D Co., Ltd. All Rights Reserved.
Owner : Chunmu(Jiseon Lee) | kernys(Wonbae Kim) | Sasinji(Byungkook Kim)