View Single Post
11-02-10, 12:26 PM   #25
Grimsin
A Molten Giant
 
Grimsin's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2006
Posts: 990
hmm so my current attempt at a function was BAD! lol. stackoverflow its dumping a whole lot of data that i dont even know where its coming from when i try to do the following for the add function...

Code:
function addon:AddMoveableFrame(name, parent)
	GMoveableFrames[name] = parent
	HookFrame(name, parent)
end

function addon:RemMoveableFrame(name, parent)
	
end

SlashCmdList["GMOVE_SHORTHAND"] = function(name, parent)
	addon:AddMoveableFrame(name, parent)
end
SLASH_GMOVE_SHORTHAND1 = "/gmove"
__________________
"Are we there yet?"

GrimUI
[SIGPIC][/SIGPIC]
  Reply With Quote