This is a tutorial to show you how to make the damage done to your character shown just aboce his head. It can be adjusted to be shown somewhere else, but for this tutorial we will put it just above his head.
This script in the following screenshots checks for change in the hero's Hp ever .1 seconds. Variable A checks heros Hp waits .1 second and Variable B checks it again. The brach checks if in the .1 seconds Variable A is lower than Variable B, and if so it subtracts Variable B from A (A-B= Damage Done) and shows damage accordingly throught branches. This is only a very good system if you wish to keep your damage considerably low. For this example and my own game I have maxed out the damage at 20. Enjoy.
(http://i43.photobucket.com/albums/e354/hellroc/Chara%20Help/Hrodmg1.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/Chara%20Help/Hrodmg2.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/Chara%20Help/Hrodmg3.jpg)
(http://i43.photobucket.com/albums/e354/hellroc/Chara%20Help/Hrodmg4.jpg)