Does a -damage popup- command exist?

Hey guys,


does something like a damage popup command exist? I use a "battler.gainHp(-50)" command inside a state, but sadly the popup of these 50 damage don't show up by default.


To be more precisely: I use it inside the <Custom Deselect Effect> of the Yanfly's BuffStatesCore plugin. The weired thing is, that if you write the same line inside the <Custom Regenerate Effect> the damage pops up just normal.


I guess there is a command for it, but Google doesn't help me that much.
In most of the damage-dealing special skills Yanfly goes over in their Tips & Tricks, there is a section of the code shown that deals with damage popups. I'd take a look at it and see what lines you need to get it to work.


In the code for Thorn Bind Hostage for example, a 


target.startDamagePopup();


was used. I'm not sure what lines around it might be needed, or if that alone will do the trick, but that line should be a good place to start!
In most of the damage-dealing special skills Yanfly goes over in their Tips & Tricks, there is a section of the code shown that deals with damage popups. I'd take a look at it and see what lines you need to get it to work.


In the code for Thorn Bind Hostage for example, a 



target.startDamagePopup();


was used. I'm not sure what lines around it might be needed, or if that alone will do the trick, but that line should be a good place to start!



Works perfect! Thank you. You remembered me to look through all the Tipps & Tricks again, since I just started writing my own code inside of skills and states.

Original thread: https://forums.rpgmakerweb.com/threads/does-a-damage-popup-command-exist.64413/