-
Notifications
You must be signed in to change notification settings - Fork 0
Enemy Info (UI)
Enemy Info is a UI feature provided by the Alpha ABSZ plugin for RPG Maker MZ. It displays information about enemies when:
- You hover over an enemy
- You attack an enemy
- You are attacked by an enemy
Go to the plugin parameters section:
Enemies settings/UI Elements/
All relevant parameters are described there.
To disable the enemy info display entirely, set:
Show Enemy Info? → false
Note: You can set the priority of enemy info display for different actions:
- Hover
- Attack
- Attacked by enemy
You can create your own styles for enemy info.
- Go to the folder:
data/AABSZ/enemy_info_styles/ - Copy the
default.jsonfile and rename it (e.g.,MyStyle.json) - Edit the copied file to customize the style.
To change the default style for all enemies, replace or modify default.json.
To assign a custom style to a specific enemy:
- Use the ABS parameter:
UIInfoStyle:NAME
Add it in the Database or as a comment for the enemy event in the map editor.
Example:
UIInfoStyle:MyStyle
AAUIEnemyInfoManager.setActiveState(true or false)Use this to toggle visibility of the enemy info UI (e.g., for cutscenes).
AAUIEnemyInfoManager.setEnemyForInfo(eventId or 0)- Set a specific event ID to pin enemy info.
- Pass
0to clear the pinned enemy info.
Example:
AAUIEnemyInfoManager.setEnemyForInfo(1)Pins the enemy info to the event with ID 1.
Note: Before leaving the map with pinned enemy info, always call:
AAUIEnemyInfoManager.setEnemyForInfo(0)This prevents issues on the next map.
-
Check out the example style in:
data/AABSZ/enemy_info_styles/ -
Explore the
EnemyInfo&BossGaugemap in the Alpha ABSZ demo project to see the enemy info system in action.