Thread Tools Display Modes
Prev Previous Post   Next Post Next
05/14/14, 01:06 AM   #1
emeraldbay
Join Date: May 2014
Posts: 1
Question Need help with a couple of fairly simple concepts.

Firstly, I would like to make an addon that changes the walk/run from toggle to hold-to-run (like in previous elder scrolls games). It doesn't seem like it would be so hard, but I'm really not sure what I'm doing, so I would appreciate some help.

Second, I want to make an addon that will replace the quick unsheathe action that happens when you press your attack key (I have it set to LMB) with the normal-speed unsheathe action that occurs when you press the sheathe/unsheathe key (which I have set to F). When I press LMB, the addon would need to make sure I'm not in mouse mode or viewing a menu. Then, it needs to check and see if my weapon is sheathed or not. (Obviously, if my weapon is unsheathed, it doesn't need to do anything.) After that, it should be able to safely trigger my sheathe/unsheathe key instead of LMB.

Of course, these functions should only affect me, and never mess with other players. If anyone could offer me some assistance with these two things, I'd be very grateful.

Last edited by emeraldbay : 05/14/14 at 01:08 AM. Reason: More info.
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Need help with a couple of fairly simple concepts.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off