PDA

View Full Version : How do to Remove the casting bar from HUD?



WTS_DPS
10-06-2006, 03:48 AM
I've tried a lot of things myself, but i just can't get it to work, either i get an error, my entire HUD dissapears or nothing happends at all.

Please help me out!

Telal
10-06-2006, 04:01 AM
You have to rem it out :)

This is from my layout.lua



-- casting = {
-- type = "Frame",
-- size = { 200, 117 },
-- FrameStrata = "LOW",
-- Anchor = { "TOP", "$parent", "CENTER", 0, 0 },
-- events = {
-- "SPELLCAST_START",
-- "SPELLCAST_STOP",
-- "SPELLCAST_FAILED",
-- "SPELLCAST_INTERRUPTED",
-- "SPELLCAST_DELAYED",
-- "SPELLCAST_CHANNEL_START",
-- "SPELLCAST_CHANNEL_UPDATE",
-- "SPELLCAST_CHANNEL_STOP",
-- },
-- children = {
-- bar = {
-- type = "Texture",
-- size = { 200, 105 },
-- Texture = NRF_HUD_IMG.."casting",
-- Anchor = { "TOPLEFT", "$parent", "TOPLEFT", 0, -75 },
-- VertexColor = { 1, 1, 1, 0.5 },
-- vars = {
-- bar = 200,
-- height = 128,
-- width = 200,
-- fill = "right",
-- },
-- },
-- spell = {
-- type = "FontString",
-- layer = "OVERLAY",
-- Font = { NRF_FONT.."framd.ttf", 9, "OUTLINE" },
-- JustifyH = "LEFT",
-- Anchor = { "BOTTOMLEFT", "$parent", "BOTTOMLEFT", 5, 0 },
-- VertexColor = { 1, 1, 1, 0.5 },
-- },
-- time = {
-- type = "FontString",
-- layer = "OVERLAY",
-- Font = { NRF_FONT.."framd.ttf", 9, "OUTLINE" },
-- JustifyH = "RIGHT",
-- Anchor = { "BOTTOMRIGHT", "$parent", "BOTTOMRIGHT", -5, 0 },
-- },
-- },
-- OnUpdate = function() Nurfed_Hud_CastingOnUpdate() end,
-- OnEvent = function() Nurfed_Hud_OnEvent() end,
-- vars = {
-- casting = nil,
-- holdTime = 0,
-- },
-- Hide = true,
-- },

WTS_DPS
10-06-2006, 12:10 PM
Thanks m8!

a67rhf7823jn8747==