Enemy Healthbar
This is a script to add a healthbar to an enemy. Copy the files and add one line in the monster script and you're ready to go.
Example D-Mod included.
Example D-Mod included.
Released: | February 20th, 2007 |
---|---|
File Size: | 86.06 KB |
Downloads: | 152 |
Release Notes: | * Fixed bug where the health bar could be hit by Dink. * Added health bars created by rabidwolf9. |
Play: | Play this D-Mod right now in your web browser! (More Info) |
Wow. This is one of the most elegant DinkC scripts available.
Enemy Healthbar does what you'd expect, and adds a nice little floating healthbar above your enemies. But, surely, you'll have to massively alter your existing enemy scripts to support it, right? Wrong. You just have to add one line to the enemy's main procedure:
external("healthbar","make_hbar",1);
And, to boot, healthbar.c is just a tiny, well-documented script of only 43 lines, and works extremely well by 'abusing' the shadow brain, depth dots, and more.
Its just about perfect.
Enemy Healthbar does what you'd expect, and adds a nice little floating healthbar above your enemies. But, surely, you'll have to massively alter your existing enemy scripts to support it, right? Wrong. You just have to add one line to the enemy's main procedure:
external("healthbar","make_hbar",1);
And, to boot, healthbar.c is just a tiny, well-documented script of only 43 lines, and works extremely well by 'abusing' the shadow brain, depth dots, and more.
Its just about perfect.