Make a mod to set a hotkey toggle for enable/disable quick movement & quick combat?

ColdFire979

Chieftain
Joined
May 15, 2013
Messages
7
Like the title says, Can somebody make a quick mod to set a hotkey that toggles (enable/disable) quick movement and quick combat?
 
Something like this:



I've attached a quick and dirty mod. Quick Movement works, but Quick Combat doesn't (yet) [and it needs to be updated for BNW].

Let me know if I should bother figuring out how to make the Quick Combat toggle work.
 

Attachments

  • Quick Movement - Quick Combat Toggle (v 1).zip
    5.7 KB · Views: 45
Let me know if I should bother figuring out how to make the Quick Combat toggle work.

Simple copy-paste-edit error

Code:
-- Added by Quick Movement/Quick Combat Toggle
function [B][COLOR="red"]OnQuickMovementChecked[/COLOR][/B]( bIsChecked )
  local options = {};
  table.insert(options, { "GAMEOPTION_QUICK_MOVEMENT", bIsChecked });
  Network.SendGameOptions(options);
end
Controls.QuickMovement:RegisterCheckHandler( [B][COLOR="red"]OnQuickMovementChecked [/COLOR][/B]);

function [B][COLOR="Red"]OnQuickMovementChecked[/COLOR][/B]( bIsChecked )
  local options = {};
  table.insert(options, { "GAMEOPTION_QUICK_COMBAT", bIsChecked });
  Network.SendGameOptions(options);
end
Controls.QuickCombat:RegisterCheckHandler( [B][COLOR="Magenta"]OnQuickCombatChecked [/COLOR][/B]);
 
Top Bottom