Map Encounters - KageDesu/Alpha-ABS GitHub Wiki
⚠️ Available since Build 1132
You can setup Enemy Encounters on any ABS map
Download Demo Project: Demo Link
1. Setup Spawn Map
⚠️ Enemy Encounters based on ABS spawning system, first, you should setup it in your project. You must have a spawn map and spawn ABS events on it.
2. Setup Plugin Parameters for Encounters
Encounter Animation - This animation will be played when an enemy appears on the map, like when enemy is Revive
Encounter Spawn Radius - The radius in which enemies will appear around the player on map if region is not specified
3. Add Encounters Troops
⚠️ Troop number - is a enemy event ID on Spawn Map.
For example: if you select troop #6, ABS event with ID 6 from spawn map will be spawned
If you set Range to Entire Map
, enemies will be spawned on map around the player (Encounter Spawn Radius
, see above)
If you set Range to Specify By Region ID
, enemies will spawned only on this region, **and encounter steps will be counted for this troop only when the player on specified region. **
For convenience, in the screenshot I just gave the troop a name, but in the database they are empty
4. Way to Control Map Encounters
-
You can Disable or Enable Encounter on map with Event Command - Change Encounter (3 page, System settings tab)
-
You can get enemy spawn count by Encounter on current map -
uAPI.encountersCount
- You can use Party Abilities -
Encounter Half
,Encounter None
(Traits, Other tab)
⚠️ Block spawning and revive events take effect on Encounters too. More information
⚠️ The enemy may not be spawned if the point on the map is busy (some obstacle, player, event, etc.) at the time of spawn, but the Encounter counter will be reset