Page 1 of 1

New JS Method/Modification of TextMessage JS method

Posted: Sun Jul 02, 2006 9:40 pm
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.

Posted: Sun Jul 02, 2006 9:43 pm
by giwo
Yeah, I noticed this when I implemented doors, was just being lazy.

I'll bang this one out.

Posted: Sun Jul 09, 2006 11:28 pm
by giwo
This one can be marked as implemented...

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