Download
(2 Kb)
Download
Updated: 12/19/20 09:14 AM
Pictures
File Info
Compatibility:
Markarth (6.2.5)
Updated:12/19/20 09:14 AM
Created:12/14/20 06:46 AM
Monthly downloads:441
Total downloads:18,749
Favorites:17
MD5:
Categories:Combat Mods, Raid Mods
Lock Weapon Swap  Popular! (More than 5000 hits)
Version: 0.2
by: andy.s [More]
The addon allows to disable weapon swap at any time:

Lua Code:
  1. LockWeaponSwap.Lock('Cloudrest_Voltaic_Overload')
  2. LockWeaponSwap.Unlock('Cloudrest_Voltaic_Overload')

Currently it's only useful in Cloudrest. When enabled, the addon doesn't allow you to swap weapon bars, while Voltaic Overload effect is active (after the first swap, of course).

Note: the addon only disables "Weapon Swap" key, there are still other ways to swap bars, which haven't been changed.

Tested for API 100033 (Markarth), can't guarantee it'll work in future updates, because currently there is no a "clean" way to disable weapon swap.
0.2
- Fixed an issue when you could get randomly locked in Cloudrest during portal mechanic.
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Uploader
Date
0.1
2kB
andy.s
12/14/20 06:46 AM


Post A Reply Comment Options
Unread 06/14/24, 03:45 PM  
Lykeion
 
Lykeion's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 121
Uploads: 13
A small improvement

Hi andy! Good to see you active again in ESOUI, you're one of the most important authors here!

I have a small improvement for Lock Weapon Swap. When you leave the instance while affected by Voltaic Overload, the lock won't release until you reloadui. Adding a few lines of code to cloudrest.lua can fix this issue

local function PlayerActivated()
LockWeaponSwap.Unlock(NAME)
overloadActive = false
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: