[IMPLEMENTED] New JS Method/Modification of TextMessage JS method

If Wishes were UOX Coders, we'd be done by now ;P Post your wishes/suggestions for UOX3 changes/improvements here.
Post Reply
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

New JS Method/Modification of TextMessage JS method

Post by Xuri »

Something which would be very useful would be a JS method similar to TextMessage(), which is displayed above the head of a character but is only displayed FOR that specific character (i.e. players only), possibly even with customizable hue on the text - and if not, a different one than the one normally used for speech/TextMessage.

Or possibly a modification of the TextMessage method, allowing for both the old version (for compability reasons) and a new one similar to this:

Code: Select all

pUser.TextMessage( "Random text" );
pUser.TextMessage( "Random text"[color=yellow], hue, broadcast[/color] );
...Where hue is the text-color, and the broadcast value can be either true or false depending on whether you want to broadcast the textmessage to everyone in the vincinity or just for the character.
-= Ho Eyo He Hum =-
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Yeah, I noticed this when I implemented doors, was just being lazy.

I'll bang this one out.
Scott
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

This one can be marked as implemented...

If I had Mod access I'd do it myself. :P
Scott
Post Reply