- Joined
- Dec 25, 2017
- Messages
- 11
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- RMMV
Hello,
I am new to RPG Maker MV and am trying to set up a system to detect when an enemy has less than 50% health left. I wanted to make a variable to detect the enemies max HP using Control variables and using the game data option, but in the enemies tab it only has question marks, it doesnt say the enemies names (i.e #1 Bat), so as a result the variable doesnt work. I know I can use script like $gameTroop.members()[1].mhp to get max hp, but Im using action based battle system, so I'm dealing with enemies rather than troops. Any help/advice would be appreciated. Thanks!!

I am new to RPG Maker MV and am trying to set up a system to detect when an enemy has less than 50% health left. I wanted to make a variable to detect the enemies max HP using Control variables and using the game data option, but in the enemies tab it only has question marks, it doesnt say the enemies names (i.e #1 Bat), so as a result the variable doesnt work. I know I can use script like $gameTroop.members()[1].mhp to get max hp, but Im using action based battle system, so I'm dealing with enemies rather than troops. Any help/advice would be appreciated. Thanks!!



