I want a party member to have a skill that just informs the user how much HP an enemy has left.
I want to have a character have a skill (lets call it 'Health Check' for now until I come up with a better name) that the user targets an enemy and it will tell the user how much HP the enemy has remaining. This would be helpful for long boss fights (like the ones that are crucial to the story, not just weaker area bosses).
I do not need it to do damage or anything, just display how much HP the boss has remaining.
Is there a way to do this?
A lot of console RPGs have something like this.
enemy hp scripts exists and can show the hp all the time or when you hit the enemy.
So my first question is do you want this to show and stay on the screen or only show for a second or two? Second will it display on the battler or in the battle log? Is it just the numbers or a health bar?
I just need it to display when the user has the character select the move, target the enemy, and then just use a "display message" command to say something like "Bridge Dragon's remaining HP is x" X being the remaining HP.
Basically it will display until the user hits a button to clear it like normal dialogue.
Can you put those script calls so I can copy and paste them? Please and thanks
Just copy and paste this scriptlet in a new section and follow the embedded instructions.
EDIT: Go to my next post to grab the updated scriptlet.
Embedded instructions? I do not copy.
I do not see any instructions in the comments of the code. Either that or I do not understand the instructions
Yes it makes sense now. Your second edit made sense except where to put it, now it all looks good, except I think index 0 is still a valid index for the enemy troop.
Yes the variable in the skill can be whatever you want.
Just remember that you need to update the variables[1] as well in the code line.
Using kyonides script will give you the same effect and from what I can tell you will still use the text message box I showed.
First of all, it's totally unclear why it points to line 1409 of Game_Interpreter script when any of our options are extremely short. My option includes 2 checks to prevent such things from ever happening. We need more screenshots here to see what you actually did to be able to solve that problem you're currently having.