Okay so here is my problem, I have an enemy that I want to have use a skill when he reaches between 0-25% health but when I tell the game to do that in the skill requirements it puts the hp %'s at 0-0% and so the enemy will never use the move. I really don't have much experience with rpg maker or scripting so I am at a complete loss as to how i go about fixing this problem. I hope that my description of the problem was clear enough to understand and any help that you all give would be greatly appreciated.
Having a problem with the skill use of an enemy, please help.
RPG Maker VXAce SupportIf you want a skill to be triggered at 0% health, then that enemy needs to get the immortal state because with 0 HP it otherwise gets killed before the condition triggers. But with the immortal state, you have to make sure that it is removed after the skill use, or the enemy will never die.
If you want the trigger at HP > 0, then the condition can be simply entered - however, there is a display problem in the database, some values are displayed wrong but work correct ingame.
If you want the trigger at HP > 0, then the condition can be simply entered - however, there is a display problem in the database, some values are displayed wrong but work correct ingame.
Never mind changing it to 1% seems to have done the trick for some reason, thanks.
Personally, I use the enemy manager thing, and put under condition "health = 25% or less" use skill (insert skill). This should work, and is also useful for posting text in a battle.
That is useful information, I was thinking of how I could get text in battle without it being a long dialog like after the bad guys die their final words and stuff, but that should work and make life easier thanks.
🙂 You're welcome! Is this thread now solved then?
Yes, thanks again both of you for your invaluable help
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
Original thread: https://forums.rpgmakerweb.com/threads/having-a-problem-with-the-skill-use-of-an-enemy-please-help.22047/