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
41 저장 Advanced Save Menu 편집 20101005 Edition (SDK2용) 3 Alkaid 2010.10.05 1299
40 이동 및 탈것 Advanced Player Movement by SephirothSpawn (SDK호환) 1 file 백호 2009.02.22 801
39 스킬 Advanced Mission Skills/Shop/Manager by trickster 3 file 백호 2009.02.22 1605
38 전투 Advanced Limit Breaks (KGC스크립트를 SDK호환용으로 손질한 것) 백호 2009.02.22 1214
37 전투 Advanced Individual Battle Command v2.1 by Trickster@rmxp.org (SDK호환) 1 file 백호 2009.02.22 1189
36 HUD Advanced HUD Script 3 file 백호 2009.02.22 1341
35 기타 Advanced Gold Display by Dubealex (돈 액수를 세자리씩 끊어 표기) 2 Alkaid 2010.11.18 1562
34 기타 Advanced Gold display by Dubealex 1 백호 2009.02.22 761
33 장비 Advanced Equip Window 백호 2009.02.22 806
32 이름입력 Advanced Enter Hero Name Window by RPG Advocate 백호 2009.02.22 1168
31 메뉴 Advanced Command Windows by Tsunokiette file 백호 2009.02.22 1307
30 아이템 Additional Item Drop by SephirothSpawn (SDK호환) 1 백호 2009.02.22 891
29 액터 Actor Customization 6.0.2 by Synthesize 4 file Alkaid 2010.09.17 1912
28 전투 Active Time Battle 2.62 by パラ犬 file Alkaid 2010.09.06 1660
27 전투 Active Time Battle 2.57 by パラ犬 6 file 백호 2009.02.22 2371
26 기타 Activation_system file 백호 2009.02.22 775
25 전투 ABS_v3액션 알피지 46 file 알피지GM 2010.03.07 5807
24 기타 ABS 몬스터 HP 게이지 바 11 백호 2009.02.22 2485
23 스킬 ABP액알 v1.2 스킬추가, 버그수정판 36 file 백호 2009.02.22 6920
22 전투 ABP 액알 (Action Battle Player) 14 file 백호 2009.02.22 4560
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