XP 스크립트

http://www.gamebaker.com/rmxp/script-xs/transfer-music.htm
맵을 이동할 때, 맵 이동 대상이 현재 플레이어가 있는 맵이라면 현재 지정된 맵의 음악을 처음부터 시작하지 않게 합니다.


#=============================================================================
# ** SG Transfer Player Music Fix
#=============================================================================
# sandgolem
# Version 2
# 13.07.06
#=============================================================================
#
# To use this script-x, copy it and insert it in a new section above "Main",
# but under the default script-xs and the SDK if you're using it.
#
#=============================================================================

begin
SDK.log('SG Transfer Player Music Fix', 'sandgolem', 2, '13.07.06')
if SDK.state('SG Transfer Player Music Fix') != true
@sg_transmusicfix_disabled = true
end
rescue
end

if !@sg_transmusicfix_disabled
#--------------------------------------------------------------------------

class Game_Map
alias sandgolem_transmusicfix_gamemap_autoplay autoplay
def autoplay
if $sg_autoplay_temp != $game_temp.player_new_map_id
sandgolem_transmusicfix_gamemap_autoplay
end
$sg_autoplay_temp = nil
end
end

class Scene_Map
alias sandgolem_transmusicfix_scenemap_transfer transfer_player
def transfer_player
$sg_autoplay_temp = $game_map.map_id
sandgolem_transmusicfix_scenemap_transfer
end
end

#--------------------------------------------------------------------------
end

**맵을 옮겨도 이전 맵의 음악이 계속 재생되는 버그를 수정한 버전입니다.

Who's 백호

?

이상혁입니다.

http://elab.kr


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 습작 2012.12.24 6203
154 기타 풀스크린 스크립트 2 백호 2009.02.22 1407
153 기타 Defining Encounter Areas by RPG Advocate (사용법 첨부) file 백호 2009.02.22 1201
152 기타 광물캐기 스크립트 1 file 백호 2009.02.22 1850
151 기타 레벨, 능력치 무한 스크립트 3 백호 2009.02.22 1712
150 기타 Book Event v2 by Bruth 5 백호 2009.02.22 1694
149 기타 레벨업시 전회복 by ccoa 8 백호 2009.02.22 2514
148 기타 메세지를 분출해 표시 백호 2009.02.22 1169
147 기타 스테이터스 표시 플러스 1.00ver 백호 2009.02.22 1141
146 기타 (T-RPG) 데미지 표시 시의 폰트를 설정 백호 2009.02.22 1349
145 기타 Crafting/Recipe system script by Axe Man Deke 백호 2009.02.22 829
144 기타 치트키 시스템 3 백호 2009.02.22 1594
143 기타 대화창 글자 한글자씩뜨는 스크립트 7 백호 2009.02.22 2185
142 기타 일본RPGXP게임에서 번역한 스크립트 입니다. 1 백호 2009.02.22 1735
141 기타 어디에 쓰이는지 불확실한 스크립트 1 백호 2009.02.22 1063
140 기타 SG_Settings Control by sandgolem 백호 2009.02.22 884
139 기타 Economy System by Nick@Creation Asylum 1 file 백호 2009.02.22 934
138 기타 데미지 출력 스크립트 예제 9 file 백호 2009.02.22 1560
137 기타 스크린샷 찍는 스크립트 9 file 백호 2009.02.22 1364
136 기타 대화 글씨가 한글자씩 나오는 스크립트 2 백호 2009.02.22 2464
135 기타 소지금 7자리수(9,999,999원)돌파 6 백호 2009.02.22 1753
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 Next
/ 13