Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook to allow changing of UI options when difficulty is changed on the creation of a new game #148

Closed
Danice123 opened this issue Jan 11, 2018 · 1 comment
Labels
needs-docs Needs documentation

Comments

@Danice123
Copy link
Contributor

Namely targeting Second Wave options

Danice123 added a commit to Danice123/X2WOTCCommunityHighlander that referenced this issue Jan 11, 2018
@Danice123
Copy link
Contributor Author

static function UpdateUIOnDifficultyChange(UIShellDifficulty UIShellDifficulty)
{
UIMechaListItem(UIShellDifficulty.m_SecondWaveList.GetItem(default.NCE_ListPosition)).Checkbox.SetChecked(true);
if (UIShellDifficulty.m_iSelectedDifficulty > 0)
{
UIMechaListItem(UIShellDifficulty.m_SecondWaveList.GetItem(default.SignalReserves_ListPosition)).Checkbox.SetChecked(false);
}
else
{
UIMechaListItem(UIShellDifficulty.m_SecondWaveList.GetItem(default.SignalReserves_ListPosition)).Checkbox.SetChecked(true);
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-docs Needs documentation
Projects
None yet
Development

No branches or pull requests

3 participants