An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

NUUN Battle Troop BGM - NUUN_BattleTroopBGM.js

Plugin desc : Enemy group BGM settings

License : MIT License

Author : NUUN

Website : https://github.com/nuun888/MZ/blob/master/NUUN_BattleTroopBGM.js

Download Page : https://raw.githubusercontent.com/nuun888/MZ/master/NUUN_BattleTroopBGM.js

File name : NUUN_BattleTroopBGM.js

Help of plugin :

* @target MZ
 * @plugindesc Enemy group BGM settings
 * @version 1.2.0
 * @author NUUN
 * @base NUUN_Base
 * @orderAfter NUUN_Base
 * 
 * @help
 * You can play the specified battle BGM for the enemy group.
 * 
 * By specifying an enemy group in the plugin parameters, the set BGM will be played for that enemy group.
 * Multiple enemy groups can be selected.
 * If set in a battle event, the battle event tag will take precedence.
 * 
 * When filling out from a battle event
 * Please fill in the "comment" on page 1 of the battle event of the enemy group.
 * <BattleBGM:[id]> 
 * [id]:ID name or identification name Specify the battle BGM list ID or identification name of the plug-in parameter.
 * 
 * If multiple battle BGM settings are specified, it will be played randomly, but if a condition is specified and the condition is met, that BGM will be played.
 * Priority increases from top to bottom.
 * 
 * Combined use with "Preemptive, Surprise EX"
 * You can specify preemptive attack and battle BGM at the time of surprise attack for condition specification.
 * 
 * Terms of Use
 * This plugin is distributed under the MIT license.
 * 
 * Log
 * 3/1/2025 Ver 1.2.0
 * Added the ability to replay selected battle BGM.
 * 1/8/2024 Ver 1.1.2
 * Processing correction.
 * 1/7/2024 Ver 1.1.1
 * Added a function that allows you to set the BGM during a preemptive surprise attack.
 * Processing improvements.
 * 1/7/2024 Ver 1.1.0
 * Added a function that can be set from enemy group ID.
 * 7/4/2023 Ver 1.0.0
 * First edition.
 * 
 * @command BgmResumes
 * @desc Replays the battle BGM.
 * @text Battle BGM replay
 * 
 * 
 * @param BGMList
 * @text Battle BGM
 * @desc Set battle BGM.
 * @default []
 * @type struct<battleBgmList>[]
 * 
 * @param BattleBgmOnSwitch
 * @text BGM change switch
 * @desc Allow changing the BGM set by this plug-in (ON). 0 to always allow.
 * @type switch
 * @default 0
 *

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.