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 6205
194 기타 스테이터스 표시 플러스 1.00ver 백호 2009.02.22 1141
193 기타 스탯 13 file 이안 2010.01.17 2325
192 기타 스탭 롤 9 file 허걱 2009.08.13 2908
191 기타 스크립트로 프리윈도우 예제 4 file 백호 2009.02.21 812
190 기타 스크립트 자료 3 file 백호 2009.02.22 905
189 기타 스크린샷 찍는 스크립트 9 file 백호 2009.02.22 1364
188 기타 스크롤되는 파노라마(Autoscrolling Panorama) by RPG Advocate 백호 2009.02.22 993
187 기타 소지금 7자리수(9,999,999원)돌파 6 백호 2009.02.22 1753
186 기타 상점 변동시세 적용 스크립트 3 file 백호 2009.02.21 1170
185 기타 빛의 퍼즐 -미니게임- 1 file 백호 2009.02.21 1360
184 기타 비밀소년님의 경험치 표시 스크립트 백호 2009.02.22 1419
183 기타 분류 별로 윈도우 스킨 다르게 사용하기 file 백호 2009.02.21 1015
182 기타 부활스크립트 4 캉쿤 2011.09.19 2067
181 기타 복권 스크립트 6 백호 2009.02.21 1259
180 기타 밤/낮 변화 시스템 스크립트 4 file 백호 2009.02.21 1771
179 기타 발소리 스크립트 4 file 백호 2009.02.21 1614
178 기타 무기& 방어구 레벨제한 스크립트 23 file 백호 2009.02.21 1880
177 기타 무기 회피율, 방어구 공격력 지정 스크립트 6 백호 2009.02.22 1250
176 기타 무기 개조 스크립트 file 백호 2009.02.21 1248
175 기타 몬스터도감 - 개량형 ? 7 file 백호 2009.02.22 2885
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 Next
/ 13