Maptext Nametags

by Kumorii
Simple plug-in library to add nametags to your games! [More]
To download this library for your Linux/Mac installation, enter this on your command line:

DreamDownload byond://Kumorii.MaptextNametags##version=1

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


Version 1
Date added: Sep 6 2014
Last updated: Sep 7 2014
1 fan
So this is a really simple bit of code I put together a few months ago but never really used. There are no issues that I'm aware of and editing/improving it should be effortless. If requested, I may revisit this and add some tweaks for color or something. Use it as you wish!

:: How to use ::

Using the library is easy! Call the below on a movable atom to draw a new nametag:
src.draw_nametag("display name") // "src" being the recipient of the nametag.

Updating the display text of an existing nametag is simple as..
src.nametag.change_text("new name")

I hope this can prove useful to someone and feel free to leave questions or suggestions. I'm always eager for feedback!