View Single Post
12/12/14, 12:42 PM   #3
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
I have tested just weapon swap, but it would be the same for all action buttons. All those actions requires calling of private function, but it is not allowed from the addon code. It always pops an UI error.

WeaponSwap uses:
* OnSpecialMoveKeyPressed *private* (*[SpecialMove|#SpecialMove]* _slotIndex_)
* OnSpecialMoveKeyDown *private* (*integer* _moveIndex_)
* OnSpecialMoveKeyUp *private* (*integer* _moveIndex_)

ActionButtons use:
* OnSlotDownAndUp *private* (*luaindex* _slotIndex_)
* OnSlotDown *private* (*luaindex* _slotIndex_)
* OnSlotUp *private* (*luaindex* _slotIndex_)

Last edited by Garkin : 12/12/14 at 12:44 PM.
  Reply With Quote