Quantcast WoWInterface - View Single Post - How does Carbonite get it's maps from the game?
View Single Post
02-05-11, 09:15 PM   #10
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Ok, quick dirty random snippet:
Code:
f = CreateFrame("Frame", nil, UIParent)
f:SetPoint("CENTER")
f:SetSize(150, 150)

for x = 29, 35 do
	for y = 37, 43 do
		local tex = f:CreateTexture()
		tex:SetSize(150, 150)
		tex:SetPoint("CENTER", -150 + (x - 32) * 150, 150 - (y - 40) * 150)
		tex:SetTexture(format("World\\Minimaps\\Azeroth\\map%d_%d.blp", x, y))
	end
end
Epic result:
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote