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 7316
41 저장 Advanced Save Menu 편집 20101005 Edition (SDK2용) 3 Alkaid 2010.10.05 1328
40 이동 및 탈것 Advanced Player Movement by SephirothSpawn (SDK호환) 1 file 백호 2009.02.22 820
39 스킬 Advanced Mission Skills/Shop/Manager by trickster 3 file 백호 2009.02.22 1615
38 전투 Advanced Limit Breaks (KGC스크립트를 SDK호환용으로 손질한 것) 백호 2009.02.22 1224
37 전투 Advanced Individual Battle Command v2.1 by Trickster@rmxp.org (SDK호환) 1 file 백호 2009.02.22 1205
36 HUD Advanced HUD Script 3 file 백호 2009.02.22 1367
35 기타 Advanced Gold Display by Dubealex (돈 액수를 세자리씩 끊어 표기) 2 Alkaid 2010.11.18 1580
34 기타 Advanced Gold display by Dubealex 1 백호 2009.02.22 795
33 장비 Advanced Equip Window 백호 2009.02.22 819
32 이름입력 Advanced Enter Hero Name Window by RPG Advocate 백호 2009.02.22 1190
31 메뉴 Advanced Command Windows by Tsunokiette file 백호 2009.02.22 1320
30 아이템 Additional Item Drop by SephirothSpawn (SDK호환) 1 백호 2009.02.22 908
29 액터 Actor Customization 6.0.2 by Synthesize 4 file Alkaid 2010.09.17 1934
28 전투 Active Time Battle 2.62 by パラ犬 file Alkaid 2010.09.06 1673
27 전투 Active Time Battle 2.57 by パラ犬 6 file 백호 2009.02.22 2376
26 기타 Activation_system file 백호 2009.02.22 787
25 전투 ABS_v3액션 알피지 46 file 알피지GM 2010.03.07 5829
24 기타 ABS 몬스터 HP 게이지 바 11 백호 2009.02.22 2492
23 스킬 ABP액알 v1.2 스킬추가, 버그수정판 36 file 백호 2009.02.22 6945
22 전투 ABP 액알 (Action Battle Player) 14 file 백호 2009.02.22 4581
Board Pagination Prev 1 ... 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 Next
/ 52