Mirage Source
[Feature] NPC names not going off screen - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Tutorials (https://mirage-engine.uk/forums/forumdisplay.php?fid=13)
+------ Thread: [Feature] NPC names not going off screen (/showthread.php?tid=3186)



[Feature] NPC names not going off screen - AkselJ - 06-10-2009

So, I noticed when using the "Stop player names from going off screen" - fix on NPC's their names would get stuck 4 tiles away from the end. So I found out how to fix it, which is quite simple and I thought I'd share it.

In Sub BltNpcName Add:

[code]
If TextY