Change SettingsMenuType for Mutator.

Discussions about Coding and Scripting
User avatar
Gadavre
Experienced
Posts: 140
Joined: Sun Jan 18, 2015 7:55 am

Change SettingsMenuType for Mutator.

Post by Gadavre » Mon Jan 01, 2018 4:40 pm

I need to remove the checkbox for Translocator from the "Settings" tab.
I can do this in the Mod, since in defaultproperties we see this line

Code: Select all

 SettingsMenuType="UTMenu.UTSettingsSClient"
But i have Mutator (not DeathMatchPlus). I want to change a variable SettingsMenuType through the class mutator. If this is possible then how to do it?

ExpEM
Skilled
Posts: 178
Joined: Wed Nov 09, 2016 1:48 am

Re: Change SettingsMenuType for Mutator.

Post by ExpEM » Tue Jan 23, 2018 6:14 am

You can't do it without access to the Root. The Root holds the menu options, simply put, using a mutator wont do it, however a game type can. Have a look at the code for RocketArena for how to bork menu options.