Skip to content

Commit

Permalink
no need for global scripts calling
Browse files Browse the repository at this point in the history
  • Loading branch information
ermaccer committed Mar 22, 2022
1 parent 3e86e33 commit 02af237
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions MK11Hook/code/mk11menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1628,8 +1628,7 @@ void MK11Menu::DrawMiscTab()
void MK11Menu::DrawScriptTab()
{
ImGui::RadioButton("On Player1", &m_nScriptExecuteType, SCRIPT_P1); ImGui::SameLine();
ImGui::RadioButton("On Player2", &m_nScriptExecuteType, SCRIPT_P2); ImGui::SameLine();
ImGui::RadioButton("On Global", &m_nScriptExecuteType, SCRIPT_GLOBAL);
ImGui::RadioButton("On Player2", &m_nScriptExecuteType, SCRIPT_P2);

static char szScriptSource[256] = {};
ImGui::InputText("Script Source", szScriptSource, sizeof(szScriptSource));
Expand Down Expand Up @@ -1909,7 +1908,6 @@ void MK11Menu::DrawScriptReference()
case USG:
ImGui::BulletText("On Player1 - selected function will execute on Player 1 object.\nUse with character scripts or FightEngine");
ImGui::BulletText("On Player2 - selected function will execute on Player 2 object.\nUse with character scripts or FightEngine");
ImGui::BulletText("On Global - selected function will execute without a specified object.\nUse this with utils or functions that change hud etc.");

ImGui::TextWrapped("Some common player functions:");
ImGui::BulletText("BrutalityVictory1");
Expand Down

0 comments on commit 02af237

Please sign in to comment.