function MiniMapInstanceDifficulty_OnEvent(self) local _, instanceType, difficulty, _, maxPlayers, playerDifficulty, isDynamicInstance = GetInstanceInfo(); MiniMapInstanceDifficultyText:SetText(999); MiniMapInstanceDifficultyTexture:SetTexCoord(0, 0.25, 0.0703125, 0.4140625); MiniMapInstanceDifficultyText:SetPoint("CENTER", 0, -9); self:Show();end
function MiniMapInstanceDifficulty_OnEvent(self) local name, instanceType, difficulty, _, maxPlayers, playerDifficulty, isDynamicInstance = GetInstanceInfo(); print(name) if name == "My Custom Map" then MiniMapInstanceDifficultyText:SetText(999); MiniMapInstanceDifficultyTexture:SetTexCoord(0, 0.25, 0.0703125, 0.4140625); MiniMapInstanceDifficultyText:SetPoint("CENTER", 0, -9); self:Show(); return end .......