s_damage

by Spuzzum
Version 2.1! -- Flashes damage numbers above targets when you smite them. Of course, it doesn't have to be for damage specifically... use it for whatever you'd like! [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Spuzzum.s_damage##version=21

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Spuzzum.s_damage##version=21

8000 downloads
Version 21
Date added: May 19 2001
Last updated: Jul 29 2009
18 fans
For more information, refer to the text at the top of the s_damage2.dm file contained within the library.


This displays numbers over top of an obj, turf, or mob, briefly. This is a graphical only effect. As such, it can be used to represent various amounts of damage inflicted on enemies. But it doesn't actually inflict the damage.

Don't forget that you don't have to use it for just damage, though! You can use it for payments, or anything that involves numbers!


To call the library, use

s_damage(target,number,"colour")

where number is any number, colour is one of the below values, and target is any mob, obj, or turf.

Further information, such as acceptable colours, is detailed within the project files themselves.


Also, if you encounter a bug, please contact me directly, and don't clutter the forums. Thanks!

Comments

Static-GT: (Aug 31 2010, 7:29 pm)
Thank you i may use this