Download
(666 b)
Download
Updated: 03-05-11 05:46 PM
Pictures
File Info
Updated:03-05-11 05:46 PM
Created:04-23-10 09:52 PM
Downloads:1,167
Favorites:1
MD5:
MagicHelm
Version: 0.0.1
by: Furyrage-Kargath [More]
Ever wanted to make your helmet disappear and reappear constantly? Neither have I, but here it is... MagicHelmet. With 0 customizable options, this add-on is great for everyone. It's great for arenas and it's only 665 bytes!
0.0.1 Updated TOC
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
0.0.0
665B
Furyrage-Kargath
04-23-10 09:52 PM


Post A Reply Comment Options
Unread 03-09-11, 07:41 AM  
GitS
A Kobold Labourer

Forum posts: 1
File comments: 9
Uploads: 0
Just a little tip if you want to make it even smaller.

Code:
if ShowingHelm() then ShowHelm(0);else ShowHelm(1);end;
is the same as
Code:
ShowHelm(not ShowingHelm())


Semicolons are also completely optional.

Code:
if ShowingHelm() then ShowHelm(0);else ShowHelm(1);end;
is the same as
Code:
if ShowingHelm() then ShowHelm(0) else ShowHelm(1) end
GitS is offline Report comment to moderator  
Reply With Quote
Unread 02-24-11, 06:32 AM  
Codex
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 281
Uploads: 21
Any way to make it toggle faster?

also if anyone is wondering how to make it work with cloak:

local function t()
if ShowingHelm()
then ShowHelm(0);
else ShowHelm(1);
end;
--if ShowingCloak()
--then ShowCloak(0);
--else ShowCloak(1);
--end;
end;
local f=CreateFrame("frame");f:SetScript("OnUpdate",t)
Last edited by Codex : 03-08-11 at 10:35 AM.
Codex is offline Report comment to moderator  
Reply With Quote
Unread 04-24-10, 09:28 AM  
jasje
A Chromatic Dragonspawn
 
jasje's Avatar
AddOn Author - Click to view AddOns

Forum posts: 150
File comments: 282
Uploads: 8
Rather useless, yet funny.
__________________

Tukui | Github
jasje is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: