Does anyone know where the function "ToggleSheath()" is defined? It's not in any lua files, and all I could find via google was that it was part of
this.
A full response would be great.
You see I'm trying to create a script similar to the likes of this:
function PressButtonDown()
if ( MainHandOnlySheath:IsShown()) then
MainHandOnlySheath:Hide();
else
MainHandOnlySheath:Show();
OffHandOnlySheath:Hide();
( MainHandOnlySheath:Hide() and OffHandOnlySheath:Hide() );
RangedOnlySheath:Hide();
end
end
Except those functions don't actually exist, and if there is a similar version of them I would love someone to inform me of what they are, or how I could go about pursuing this function.
I'm trying to find where "ToggleSheath()" is defined so that I can view its lua and discover what function variables do exist so that I can pull this off.