Jump to content
  • 0

Make Local Chat Default instead of Global


Question

Posted

Hi All.

 

I am building a dating app using intersect game engine called 'Love is blind' .

 

It is a new take on the dating genre.

 

I have stripped down 90% of the UI in the c# code and just left the chatbox because I want the system to be event driven, not spell / item / gear driven.

 

I have managed to remove the Global dropdown link in the chat but the problem is that Global is still the default chat.

 

Where is the code that makes Global the default chat? I want to make Local the default chat and hide global entirely.

 

@jcsnider 

4 answers to this question

Recommended Posts

  • 0
Posted

I feel like the easiest way to do this (since you've hidden the option already) would be to find what handles chat input and simply disable the global chat option and call the local one instead. 

 

It's not the most elegant, but would work. I'd have to look into the actual code when I have the time for an elegant solution. 

  • 0
Posted

Hi Joyce...Yes, this is what I am looking for, but I cannot find the line of code that does this...Can you point me to that line?

  • 0
Posted

mChannelCombobox = new ComboBox(mChatboxWindow, "ChatChannelCombobox");
            for (var i = 0; i < 3; i++)
            {
                if(i != 1)
                {
                    var menuItem = mChannelCombobox.AddItem(Strings.Chatbox.channels);
                    menuItem.UserData = i;
                }
                
            }
 

 

This is the code...Now only the Local and Party Chat displays like I need it to

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...