Unicode Arrows

Posted by Duma on Fri 06 Apr 2007 06:03 PM — 3 posts, 13,769 views.

USA #0
Hi, I'm playing the MUD Aetolia and on the old client there was a nifty little compass that showed you which directions you can travel. I'm trying to make my own compass, in the notepad. Is there a way to get arrows into the notepad? I've tried to use alt+8598 which according to http://www.alanwood.net/unicode/arrows.html equals a northwest arrow.

I've tried this combination in MUSH's notepad and got the û character. However when I used this combination in Microsoft's WordPad in Lucida Sans Unicode font I got the Northwest arrow.

I then tried to change the notepad's font to Lucida Sans Unicode in my script, but I got an error. And also I couldn't insert the arrow into the script, I just got the û again. Here's the script if that helps at all -

Sub Compass(Name, Line, Wildcards)
	world.NotepadFont "Compass", "Lucida Sans Unicode", 0, 20, 0
	world.ReplaceNotepad "Compass", "û"
End Sub


So basicly, is there a way to get arrows into the notepad? Any help would be appreciated.
Australia Forum Administrator #1
The notepad doesn't support Unicode. The only thing I can suggest is to use the Info Bar (optional bar on the bottom of the main window). You can change fonts with that, so with a suitable symbol font, and a suitable choice of characters, you should be able to show your directions there.
Australia Forum Administrator #2
For example, this code displays some arrows in the Info bar:


InfoClear ()
InfoFont ("Symbol", 12, 0)
for i = 171, 180 do
  Info (string.char (i))
end