View Single Post
12/17/14, 06:11 AM   #3
Shinni
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 167
Originally Posted by Sir Tigär View Post
Do i get the Information in LUA, if i Drawn/sheathe weapon in Game?
TogglePlayerWield changes the weapon state. You could do something like this:
Lua Code:
  1. local old_toggle = TogglePlayerWield
  2. TogglePlayerWield = function(...)
  3.     d("weapon state is changed")
  4.     old_toggle(...)
  5. end
  Reply With Quote