TogglePlayerWield

From ESOUI Wiki

(Difference between revisions)
Jump to: navigation, search
DavidJCobb (Talk | contribs)
(Created page with "This function forces the player to draw their weapons if their weapons are sheathed, and vice versa. == Example == <source lang="lua"> if not ArePlayerWeaponsSheathed() then ...")

Latest revision as of 15:23, 4 November 2019

This function forces the player to draw their weapons if their weapons are sheathed, and vice versa.

Example

if not ArePlayerWeaponsSheathed() then
   TogglePlayerWield()
   d("Weapons are dangerous! Put those away! >:( ")
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox