To start off, I have looked around for a way to create multiple chat tabs like in "Duel Monsters Genesis" but sadly, I can't seem to find anything concerning that topic. Basically, I want to create "Local Chat", "World Chat", "Private Chat", and etc. I'm familiar with the output and input and how to get them functioning but other then that I'm clueless.
Thanks in advance.
Dec 3 2012, 6:24 pm
|
|
Unfortunately, one, more, most, or all of us do not know "Duel Monsters Genesis". Please explain in detail what you would like. The more specific, the better (usually). For "chat channels", I usually have a single variable to keep track of which channel the player is currently in. Upon submitting a chat message, the variable is checked, and the message sent accordingly.
|
I apologize for not being specific. I was playing around with it and I begun to understand how it works. What I did was create 4 "Panes" world, local, private, and team. I also added one output for each "pane" and gave them different names. After that, I made a "Tab" on my default window and now got it to work. My new problem is with one "input" how can I get it to function. I want it where whenever I change to a different tab, the "input's" command would change and whatever the player inputs is posted in that specific tab. I hope that made sense thanks in advance.
|
You can create an input for each pane or you can have only 1 input and change the behavior depending on the current-tab parameter of your tab control.
|
Hmmm.. option one sounds easier. I can simply give them verbs and what not I see you. I think I will do that. One more question though, I want to make where if a player hits the "enter" key, the mouse pointer focuses on the input and when they hit "enter" again to submit their text it, the pointer leaves the input.
|
Play around with the focus parameter of your input control. Skin Reference
|