Map Encounters - KageDesu/Alpha-ABS-Z GitHub Wiki
You can spawn enemies using default RPG Maker Map Encounters
⚡ You should have Spawn Map, see Enemy Spaning for more information.
⚡ Alpha ABS Z Demo project have map with example of implementing and control Map Encounters
Add next lines to Map Note section:
<AAENC>
animation:X
radius:Y
absOnly:Z
</AAENC>
Where:
-
animation
- animation played when enemy spawned, X - animation ID from database or 0 (no any animation) -
radius
- the radius in which enemies will appear around the player on map if region is not specified -
absOnly
- 1 disable Encounters when ABS system is disabled. 0 - if ABS system is disabled encounters still will work but as usual (call default battle scene instead)
If you set Range to Entire Map, enemies will be spawned anywhere on map (around the player within radius
parameter)
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 same region.
-
You can
Disable
orEnable
Encounter on map with Event Command - Change Encounter (3 page, System settings tab) -
You can use Party Abilities -
Encounter Half
,Encounter None
(Traits, Other tab)
-
You can get spawned enemies count (by map encounters) -
uAPI.getSpawnedByEncountersCount()