I'm trying to show a message just before an enemy dies and give a couple choices. I don't really understand the instructions the program gives about checking immortal on enemy menu and using Change Enemy State event command.
Show message when enemy dies
RPG Maker VXAce Support[SIZE=14.4444446563721px]If you want a message to show up before an enemy dies and give a couple of choices, you can try the following:[/SIZE]
- Go to "Troops" in your database.
- Set the Battle Event "Condition" to "Enemy : Slime(example) 's HP is 1% or below".
- Add a "Show Text" command.
" Add a "Show Choice" command.
Immortal is a state found in the "States" tab in your database. It is set to prevent Death from occurring to battlers inflicted with this state.
If you don't want the enemy to die and disappear before the event runs:
- You can set the Feature "State Rate" "Immortal" to 100% on certain enemies in the Enemies tab in your database.
- In the relevant Troops event, set the Condition to "Turn No. 0" Span "Battle" to an event page.
- In the contents, use the Change Enemy State: Entire Troop, + [immortal]. (or you can target certain enemies).
- This will prevent those enemies from being inflicted with Death.
If you want the enemy to die after your choices event, simply add a "Change Enemy State" command to remove the immortal state from the inflicted battler.
Hope this helps. ^^
- Go to "Troops" in your database.
- Set the Battle Event "Condition" to "Enemy : Slime(example) 's HP is 1% or below".
- Add a "Show Text" command.
" Add a "Show Choice" command.
Immortal is a state found in the "States" tab in your database. It is set to prevent Death from occurring to battlers inflicted with this state.
If you don't want the enemy to die and disappear before the event runs:
- You can set the Feature "State Rate" "Immortal" to 100% on certain enemies in the Enemies tab in your database.
- In the relevant Troops event, set the Condition to "Turn No. 0" Span "Battle" to an event page.
- In the contents, use the Change Enemy State: Entire Troop, + [immortal]. (or you can target certain enemies).
- This will prevent those enemies from being inflicted with Death.
If you want the enemy to die after your choices event, simply add a "Change Enemy State" command to remove the immortal state from the inflicted battler.
Hope this helps. ^^
Thank you! The 1% option worked perfectly.
Original thread: https://forums.rpgmakerweb.com/threads/show-message-when-enemy-dies.35316/