The Dink Network

Enemy Healthbar

Description
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.
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)
 
February 16th, 2007
v1.00
Score : 9.8 exceptional
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
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.