Jump to content
Sign in to follow this  
killshot

disableChannels as Mission Parameter?

Recommended Posts

Hi guys,

do you know how to make the disableChannels-command an actual mission parameter, so one can select which chat-channels should be allowed before a mission start? Is it even possible?

Regards.

Share this post


Link to post
Share on other sites

Nope, when the session initializes it grabs the return of getArray (missionConfigFile >> "disableChannels"); before creating the channels for the session. Never experimented with attempting to delete existing channels, however. Along those lines, all I'm aware of is that Group Channel and System Channel cannot be disabled and are always created for the session whether you want them or not.

Share this post


Link to post
Share on other sites

What do you mean by mission parameter? I have a vague idea because I'm sure I've seen it before, but I can't find the wiki page to be sure. If I knew what you meant I'm sure we could come up with something

Share this post


Link to post
Share on other sites
What do you mean by mission parameter? I have a vague idea because I'm sure I've seen it before, but I can't find the wiki page to be sure. If I knew what you meant I'm sure we could come up with something

Using the Cfg Parameters in the description.ext, that's why I believe it's not possible to change it as the disable command for these channels is also in the description.ext.

Share this post


Link to post
Share on other sites
Using the Cfg Parameters in the description.ext, that's why I believe it's not possible to change it as the disable command for these channels is also in the description.ext.

I'm pretty sure you still could, although I don't understand why you would, since you'd have to edit description.ext anyway, so what's the point of automating disabledChannels?

Share this post


Link to post
Share on other sites

To give a server manager the option to have the mission with X channels enabled/disabled without having to go in and change the description.ext, that's the point of the thread, but your point of "having to do it anyways" is basically the reason why I believe it to be impossible in the first place :p.

Share this post


Link to post
Share on other sites

Thanks for your answers. I thought it would be a nice option for TvT missions, if teams haven't agreed upon which channels should be allowed before the match already. Well then I'll have to stick with the old fashioned way I guess :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×