File Details
MouselookHandler-v1.2.1
- R
- Sep 11, 2013
- 179.02 KB
- 453
- 5.4.0
- Retail
File Name
MouselookHandler-v1.2.1.zip
Supported Versions
- 5.4.0
1.2.1
Updated ToC indicating compatibility to patch 5.4.
1.2
Added an option to automatically force mouselook to be turned off while a spell is awaiting a target (no changes from version 1.2b1).
1.2b1
Added an option to automatically force mouselook to be turned off while a spell is awaiting a target.
1.1
Came across an old forum thread ("Addon, Script, or help needed [MouseLook]", http://us.battle.net/wow/en/forum/topic/4427538772) and improved MouselookHandler so that it can be used to achieve the behavior described there (without the need to click macros after every UI reload).
local movements = {MoveAndSteer = false, MoveBackward = false, MoveForward = false, StrafeLeft = false, StrafeRight = false} for key, value in pairs(movements) do hooksecurefunc(key .. "Start", function() movements[key] = true; MouselookHandler:update() end) end for key, value in pairs(movements) do hooksecurefunc(key .. "Stop", function() movements[key] = false; MouselookHandler:update() end) end function MouselookHandler:predFun(enabled, inverted, clauseText, event, ...) for key, value in pairs(movements) do if value == true then return true end end return (enabled and not inverted) or (not enabled and inverted) end
1.0.1
Fixed a bug that prevented initial keybindings from being set using the standalone configuration UI (changing them worked).