Enemy Info (UI) - KageDesu/Alpha-ABS-Z GitHub Wiki

⚠️ Information actual for version 0.10.2 and above

Enemy Info Guide

1. What is it?

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

2. Parameters

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

3. Styles

You can create your own styles for enemy info.

Steps:

  1. Go to the folder: data/AABSZ/enemy_info_styles/
  2. Copy the default.json file and rename it (e.g., MyStyle.json)
  3. 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

4. Script Calls

Enable/Disable Enemy Info UI

AAUIEnemyInfoManager.setActiveState(true or false)

Use this to toggle visibility of the enemy info UI (e.g., for cutscenes).


Pin Enemy Info to a Specific Enemy

AAUIEnemyInfoManager.setEnemyForInfo(eventId or 0)
  • Set a specific event ID to pin enemy info.
  • Pass 0 to 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.


5. Examples

  • Check out the example style in: data/AABSZ/enemy_info_styles/

  • Explore the EnemyInfo&BossGauge map in the Alpha ABSZ demo project to see the enemy info system in action.