- Another improvement on overall data and minor bug fixes.

This commit is contained in:
Tercio
2015-02-23 15:01:10 -03:00
parent a1582287b0
commit 8ba65a4699
6 changed files with 81 additions and 50 deletions
+12
View File
@@ -907,6 +907,18 @@ function SlashCmdList.DETAILS (msg, editbox)
end
end
elseif (msg == "pos") then
local x, y = GetPlayerMapPosition ("player")
if (not DetailsPosBox) then
_detalhes.gump:CreateTextEntry (UIParent, function()end, 200, 20, nil, "DetailsPosBox")
DetailsPosBox:SetPoint ("center", UIParent, "center")
end
DetailsPosBox.MyObject.text = "{x = " .. x .. ", y = " .. y .. "}"
DetailsPosBox.MyObject:SetFocus()
DetailsPosBox.MyObject:HighlightText()
elseif (msg == "outline") then
local instancia = _detalhes.tabela_instancias [1]