Download
(1Kb)
Download
Updated: 12-29-09 05:22 PM
Pictures
File Info
Updated:12-29-09 05:22 PM
Created:12-29-09 05:22 PM
Downloads:1,447
Favorites:3
MD5:

HelmHider

Version: 1.2
by: Mugzly [More]

Very simple addon that hides the players helmet and cloak while out of combat, and puts them both on while in combat. Menu is in the works.

Optional Files (0)


Post A Reply Comment Options
Unread 03-16-10, 04:07 PM  
Mugzly
A Kobold Labourer
 
Mugzly's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
can you tell me how you modified it? i have no clue how to do the coding thing with the script. I tryed removing it but my helmet and cape still wont show up
Just go into the LUA file, find the "hider" function.

There should be two lines:

ShowHelm()
ShowCloak()

and a few lines below them:

ShowHelm(hide)
ShowCloak(hide)

Just delete both cloak functions for it to only work with the helm.

Hope this helps
Report comment to moderator  
Reply With Quote
Unread 03-11-10, 11:59 PM  
superbigdope
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: Ability to disable cloak hide/show?

Originally posted by help137
I love this addon, but there one thing I'd like to see. The cloak hide/show should be optional. I modified my copy to remove the cloak commands, but it would be nice to have it as a simple menu option.

-Angula
can you tell me how you modified it? i have no clue how to do the coding thing with the script. I tryed removing it but my helmet and cape still wont show up
Report comment to moderator  
Reply With Quote
Unread 02-03-10, 11:29 AM  
help137
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 31
File comments: 120
Uploads: 16
Ability to disable cloak hide/show?

I love this addon, but there one thing I'd like to see. The cloak hide/show should be optional. I modified my copy to remove the cloak commands, but it would be nice to have it as a simple menu option.

-Angula
Last edited by help137 : 02-03-10 at 11:30 AM.
Report comment to moderator  
Reply With Quote
Unread 12-30-09, 01:05 PM  
Mugzly
A Kobold Labourer
 
Mugzly's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Originally posted by Khavatari
Hey,
nice idea but you can use a shorter script, too. =)

Code:
local function OnEvent(frame, event, ...)
    if event == "PLAYER_REGEN_DISABLED" then
        ShowHelm()
        ShowCloak()
	end	
	if event == "PLAYER_REGEN_ENABLED" then
        ShowHelm(hide)
        ShowCloak(hide)
	end
end
local frame = CreateFrame("Frame");
frame:RegisterEvent("PLAYER_REGEN_DISABLED")
frame:RegisterEvent("PLAYER_REGEN_ENABLED")
frame:SetScript("OnEvent", OnEvent);
Great, thank you for your comment and help
I will update it, making that change and a few more additions soon. Thanks again!
Report comment to moderator  
Reply With Quote
Unread 12-30-09, 08:59 AM  
Khavatari
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 9
Uploads: 1
Hey,
nice idea but you can use a shorter script, too. =)

Code:
local function OnEvent(frame, event, ...)
    if event == "PLAYER_REGEN_DISABLED" then
        ShowHelm()
        ShowCloak()
	end	
	if event == "PLAYER_REGEN_ENABLED" then
        ShowHelm(hide)
        ShowCloak(hide)
	end
end
local frame = CreateFrame("Frame");
frame:RegisterEvent("PLAYER_REGEN_DISABLED")
frame:RegisterEvent("PLAYER_REGEN_ENABLED")
frame:SetScript("OnEvent", OnEvent);
__________________
life is too short to listen to slow music (Hardstyle Germany !)
Play on Der abyssische Rat//EU
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: