==================================
Summary of changes: 3.16
==================================
Moved event registration and
updated LAM settings
==================================
Summary of changes: 3.16
==================================
Moved event registration and
updated LAM settings
==================================
Summary of changes: 3.15
==================================
Update to API 101043 (Update 43)
==================================
Summary of changes: 3.14
==================================
Update to API 101042 (Gold Road)
==================================
Summary of changes: 3.13
==================================
Update to API 101041 (Update 41)
==================================
Summary of changes: 3.12
==================================
Update to API 101040 (Update 40)
==================================
Summary of changes: 3.11
==================================
Update to API 101039 (Fixes)
==================================
Summary of changes: 3.10
==================================
Update to API 101038 (Necrom)
==================================
Summary of changes: 3.09
==================================
Update to API 101037 (Scribes of Fate)
==================================
Summary of changes: 3.08
==================================
Update to API 101036 (Firesong)
==================================
Summary of changes: 3.07
==================================
Update to API 101035 (Lost Depths)
==================================
Summary of changes: 3.06
==================================
Update to API 101034 (High Isle)
Cooperate with game pad mode
==================================
Summary of changes: 3.05
==================================
Update to API 101033 (Ascending Tide)
==================================
Summary of changes: 3.04
==================================
Some skills, like Biting Jabs are
sheathed early, so increasing the
timing in settings.
==================================
Summary of changes: 3.03
==================================
Expose times in addon settings to allow customization
of the timers.
==================================
Summary of changes: 2.27
==================================
Update to API 101032 (Deadlands)
==================================
Summary of changes: 2.26
==================================
Update to API 101031 (Waking Flame)
==================================
Summary of changes: 2.25
==================================
Update to API 100035 (Blackwood)
Is it possible to add the option of doing the opposite? Keeping your weapon out at all times? There's a good delay when you get your weapon out and it gets sheathed when you open a menu or interact with something. Annoys the hell out of me since it's not optimal.
No idea if that would be a simple thing to add or release as a separate addon. I haven't been able to find an addon that does it.
All the tests I and those in my guilds have done have shown it working. If you have an issue, let me know how you were using it, so I can try to match those tests.
==================================
Summary of changes: 2.17.1
==================================
Update to API 100028 (Scalebreaker)
Increased timer to 2 seconds for slow PC
Changing to use a 2 second timer should help on older/slower computers. If you want to try other times, and test those times, change the millisecond time as shown below, and let me know if the change works for your computer.
-- we wait 2 seconds to let animations finish playing, then we
-- toggle TogglePlayerWield to sheath our weapon(s)
function SW.Loop()
if IsUnitInCombat("player") == false then
zo_callLater(TogglePlayerWield, 2000)
Would it be possible to make an addon that helps you always keep your weapon unsheathed?
After interacting with certain things, like gathering flying insects, your character automatically sheaths their weapon. Unfortunately, if you don't unsheath it yourself, it causes a slight pause as you start combat (and try to use an ability) in order to do the unsheathing animation. It's annoying.
As the author of the addon which you've taken most of the code from, yours most certainly didn't come first. The one Kelnoreem linked is a continuation of an addon I originally authored in 2014.
StowIt.lua (my original code from 2014), lines 10-25:
Code:
-- EVENT_PLAYER_COMBAT_STATE sends 'true' once when combat starts
-- and then 'nil' on every update, so we just check for 'true' to
-- start our loop
function SI.Trigger(_, inCombat)
if inCombat then
zo_callLater(SI.Loop, 1000)
end
end
-- Check once a second whether we're still in combat. If we're not,
-- we wait 1.5 seconds to let animations finish playing, then we
-- toggle TogglePlayerWield to sheath our weapon(s)
function SI.Loop()
if IsUnitInCombat("player") == false then
zo_callLater(TogglePlayerWield, 1500)
else
zo_callLater(SI.Loop, 1000)
end
end
-- EVENT_PLAYER_COMBAT_STATE sends 'true' once when combat starts
-- and then 'nil' on every update, so we just check for 'true' to
-- start our loop
function SW.Trigger(_, inCombat)
if inCombat then
zo_callLater(SW.Loop, 1000)
end
end
-- Check once a second whether we're still in combat. If we're not,
-- we wait 2 seconds to let animations finish playing, then we
-- toggle TogglePlayerWield to sheath our weapon(s)
function SW.Loop()
if IsUnitInCombat("player") == false then
zo_callLater(TogglePlayerWield, 2000)
else
zo_callLater(SW.Loop, 1000)
end
end
They're identical down to the last character, so obviously you've copied my code.
I have no problem with you making an auto-sheath addon, and I don't have any problem with you using my code, but taking the code and passing it off as your own without even acknowledging either the original author or the author of the continued addon is a bit much.
They're identical down to the last character, so obviously you've copied my code.
I have no problem with you making an auto-sheath addon, and I don't have any problem with you using my code, but taking the code and passing it off as your own without even acknowledging either the original author or the author of the continued addon is a bit much.
Thanks for sharing, I agree. I worked on several code efforts in several languages with my daughter, who was in high school at the time, and I was not aware of what code came from her or elsewhere. Next time I edit it, I will acknowledge your efforts.
Sheath Weapon is a ESO addon created by Kelnoreem
When out of combat, toggles the weapon to be sheathed.
This addon was originally created as a learning tool for my
daughter who was exploring software development as a college
choice. There were many topics and languages we explored besides ESO and LUA. I recently was informed the code used to originate this addon was copied from an addon called StowIt by stjobe in 2014. When this addon was created, acknowledging to the original author should have been made.
==================================
Summary of changes: 2.20
==================================
Update to API 100030 (Harrowstorm)
removed addon lib folder
Would it be possible to make an addon that helps you always keep your weapon unsheathed?
After interacting with certain things, like gathering flying insects, your character automatically sheaths their weapon. Unfortunately, if you don't unsheath it yourself, it causes a slight pause as you start combat (and try to use an ability) in order to do the unsheathing animation. It's annoying.