New JS Method/Modification of TextMessage JS method
Posted: Sun Jul 02, 2006 9:40 pm
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:
...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.
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] );