RPG Maker Forums Archive
Search Settings
Home › Game Development Engines › RPG Maker Javascript Plugins › Learning Javascript

MV How to get the value of the amount alive of enemies on battle scene?

Learning Javascript
S ShotGunSH
Jul 10, 2023 23:32
How to get the value of the amount of enimies alive in battle scene?
For example, if there is 2 bats, then the value is 2.
K kyonides
Jul 11, 2023 03:38
$gameTroop.aliveMembers().length;

Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-the-value-of-the-amount-alive-of-enemies-on-battle-scene.159193/

This is an unofficial, read-only archive preserved for the community. Original site: https://forums.rpgmakerweb.com

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About