#1
|
|||
|
|||
Alter Update Chat Function
Hi,
I am trying to alter the update chat function shown in the Networking tutorial so that the user can scroll up and down to view old messages that were sent. For now, I append every message sent and received to an array. I want to make a new function which takes the current text on the screen and essentially has it scroll down and add a new line of text to the top of the 5 lines. The new line will just be chosen based on one of the spots in the array. Any help would be greatly appreciated. Thanks, Jassel41 |
#2
|
|||
|
|||
You could several text objects to the screen and two buttons for up and down. When one of the buttons is pressed you change all the messages for the text objects according to how they are stored in the array.
|
#3
|
|||
|
|||
Thanks, that did the job.
- Jassel41 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
return variable from keypress function | starbug | Vizard | 2 | 01-07-2010 12:14 PM |
window.pick function over sub-window | omidbrb | Vizard | 4 | 10-02-2009 05:23 AM |
Linking problems with Live Character | Frank Verberne | Vizard | 5 | 06-04-2008 12:42 PM |
VRPN won't update | Wytze | Precision Position Tracker (PPT) | 7 | 05-28-2008 08:15 AM |
Do you know how to send a value for 'pool' to the onActionEnd function? | ghazanfar | Vizard | 1 | 03-22-2007 11:25 AM |