Skip to content

Instantly share code, notes, and snippets.

@nefftd
Created August 16, 2014 01:03
Show Gist options
  • Select an option

  • Save nefftd/2863835ba561650fe26f to your computer and use it in GitHub Desktop.

Select an option

Save nefftd/2863835ba561650fe26f to your computer and use it in GitHub Desktop.
local function DCF(self)
FlipCameraYaw(-0.005)
self:SetScript('OnUpdate',nil)
end
sizer:HookScript('OnAttributeChanged',function(self)
FlipCameraYaw(0.005)
self:SetScript('OnUpdate',DCF)
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment